Class LookUpIn<T>
[PublicApi]
public abstract class LookUpIn<T> : LookUpBase, ILookUp, IWrapper<T>
Type Parameters
T
- Inheritance
-
objectLookUpIn<T>
- Implements
-
IWrapper<T>
- Derived
- Inherited Members
Constructors
LookUpIn(T, string, string?)
protected LookUpIn(T data, string name = "source without name", string? description = null)
Parameters
Properties
Data
protected T Data { get; }
Property Value
- T
Methods
GetContents()
The underlying, original object. Helpful for external objects which need the real, underlying item.
Avoid using this property for use inside the real object, but create another property for this, so it's easier to spot dependencies.
public T GetContents()
Returns
- T
SetData(T)
protected void SetData(T newData)
Parameters
newData
T