Class LunyRef<T>
public abstract class LunyRef<T> where T : class
Type Parameters
T
Constructors
LunyRef(String)
protected LunyRef(String query)
Parameters
| Type | Name | Description |
|---|---|---|
query |
LunyRef(T)
protected LunyRef(T obj)
Parameters
| Type | Name | Description |
|---|---|---|
obj |
Fields
_cachedObject
protected WeakReference<T> _cachedObject
Field Value
Properties
Value
public T Value { get; }
Property Value
- T
Methods
IsValid(T)
protected abstract Boolean IsValid(T value)
Parameters
| Type | Name | Description |
|---|---|---|
value |
Returns
- Boolean
ResolveObject(String)
protected abstract T ResolveObject(String query)
Parameters
| Type | Name | Description |
|---|---|---|
query |
Returns
- T