C# Класс ExposedObject.Exposed

Exposes hidden (private/protected/internal) members of an or Type through a wrapper.
Наследование: System.Dynamic.DynamicObject
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
Exposed System
Exposed System

Открытые методы

Метод Описание
From ( Type type ) : dynamic

Creates a new wrapper for accessing hidden static members of a Type.

From ( object subject ) : dynamic

Creates a new wrapper for accessing members of subject.

GetMetaObject ( Expression parameter ) : DynamicMetaObject

Returns the DynamicMetaObject responsible for binding operations performed on this object.

New ( Type type ) : dynamic

Creates a new wrapper for accessing members of a new instance of Type.

Приватные методы

Метод Описание
Exposed ( Type type ) : System

Initializes a new instance of the Exposed class. Creates a new wrapper for accessing hidden static members of a Type.

Exposed ( object subject ) : System

Initializes a new instance of the Exposed class. Creates a new wrapper for accessing members of subject.

Описание методов

From() публичный статический Метод

Creates a new wrapper for accessing hidden static members of a Type.
public static From ( Type type ) : dynamic
type System.Type /// The which will have it's static members exposed. ///
Результат dynamic

From() публичный статический Метод

Creates a new wrapper for accessing members of subject.
public static From ( object subject ) : dynamic
subject object /// The object which will have it's members exposed. ///
Результат dynamic

GetMetaObject() публичный Метод

Returns the DynamicMetaObject responsible for binding operations performed on this object.
public GetMetaObject ( Expression parameter ) : DynamicMetaObject
parameter System.Linq.Expressions.Expression /// The expression tree representation of the runtime value. ///
Результат System.Dynamic.DynamicMetaObject

New() публичный статический Метод

Creates a new wrapper for accessing members of a new instance of Type.
public static New ( Type type ) : dynamic
type System.Type /// The of which an instance will have it's members exposed. ///
Результат dynamic