Interface IWrapper<T>
Provides a generic way to wrap an object instance of T
inside another object.
Inherited Members
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public interface IWrapper<out T> : IData
Type Parameters
Name | Description |
---|---|
T | The type of the object instance to wrap inside another object. |
Properties
| Improve this DocHasMemberReference
Gets a value indicating whether this instance has a member reference.
Declaration
bool HasMemberReference { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Instance
Gets the instance of the IWrapper<T> object.
Declaration
T Instance { get; }
Property Value
Type | Description |
---|---|
T | The instance of the IWrapper<T> object. |
InstanceType
Gets the type of the Instance.
Declaration
Type InstanceType { get; }
Property Value
Type | Description |
---|---|
System.Type | The type of the Instance. |
MemberReference
Gets the member from where Instance was referenced.
Declaration
MemberInfo MemberReference { get; set; }
Property Value
Type | Description |
---|---|
System.Reflection.MemberInfo | The member from where Instance was referenced. |
Methods
| Improve this DocInstanceAs<TResult>()
Returns a value that is equivalent to the instance of the node that this hierarchical structure represents.
Declaration
TResult InstanceAs<TResult>()
Returns
Type | Description |
---|---|
TResult | A value that is equivalent to the instance of the node that this hierarchical structure represents. |
Type Parameters
Name | Description |
---|---|
TResult | The type of the return value. |
InstanceAs<TResult>(IFormatProvider)
Returns a value that is equivalent to the instance of the node that this hierarchical structure represents.
Declaration
TResult InstanceAs<TResult>(IFormatProvider provider)
Parameters
Type | Name | Description |
---|---|---|
System.IFormatProvider | provider | An object that supplies culture-specific formatting information. |
Returns
Type | Description |
---|---|
TResult | A value that is equivalent to the instance of the node that this hierarchical structure represents. |
Type Parameters
Name | Description |
---|---|
TResult | The type of the return value. |