Table of Contents

Class LunyRef<T>

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

Type Parameters

T
Inheritance
object
LunyRef<T>
Derived

Constructors

LunyRef(string)

protected LunyRef(string query)

Parameters

query string

LunyRef(T)

protected LunyRef(T obj)

Parameters

obj T

Fields

_cachedObject

protected WeakReference<T> _cachedObject

Field Value

WeakReference<T>

Properties

Value

public T Value { get; }

Property Value

T

Methods

IsValid(T)

protected abstract bool IsValid(T value)

Parameters

value T

Returns

bool

ResolveObject(string)

protected abstract T ResolveObject(string query)

Parameters

query string

Returns

T