Table of Contents

Class LunyRef<T>

Namespace
Luny.Engine.Bridge
/
Assembly
Luny.dll
public abstract class LunyRef<T> where T : class

Type Parameters

T
Expand Details ...
Inheritance
Object
LunyRef<T>
Derived

Constructors

LunyRef(String)

protected LunyRef(String query)

Parameters

Type Name Description
String
query

LunyRef(T)

protected LunyRef(T obj)

Parameters

Type Name Description
T
obj

Fields

_cachedObject

protected WeakReference<T> _cachedObject

Field Value

WeakReference<T>

Properties

Value

public T Value { get; }

Property Value

T

Methods

IsValid(T)

protected abstract Boolean IsValid(T value)

Parameters

Type Name Description
T
value

Returns

Boolean

ResolveObject(String)

protected abstract T ResolveObject(String query)

Parameters

Type Name Description
String
query

Returns

T