Table of Contents

Interface IWrapper<T>

Namespace
Cuemon
Assembly
Cuemon.Core.dll

Provides a generic way to wrap an object instance of T inside another object.

public interface IWrapper<out T> : IData

Type Parameters

T

The type of the object instance to wrap inside another object.

Inherited Members

Properties

HasMemberReference

Gets a value indicating whether this instance has a member reference.

bool HasMemberReference { get; }

Property Value

Boolean

true if this instance has a member reference; otherwise, false.

Instance

Gets the instance of the IWrapper<T> object.

T Instance { get; }

Property Value

T

The instance of the IWrapper<T> object.

InstanceType

Gets the type of the Instance.

Type InstanceType { get; }

Property Value

Type

The type of the Instance.

MemberReference

Gets the member from where Instance was referenced.

MemberInfo MemberReference { get; }

Property Value

MemberInfo

The member from where Instance was referenced.

Methods

InstanceAs<TResult>()

Returns a value that is equivalent to the instance of the node that this hierarchical structure represents.

TResult InstanceAs<TResult>()

Returns

TResult

A value that is equivalent to the instance of the node that this hierarchical structure represents.

Type Parameters

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.

TResult InstanceAs<TResult>(IFormatProvider provider)

Parameters

provider IFormatProvider

An object that supplies culture-specific formatting information.

Returns

TResult

A value that is equivalent to the instance of the node that this hierarchical structure represents.

Type Parameters

TResult

The type of the return value.