C# Class ExposedObject.Exposed

Exposes hidden (private/protected/internal) members of an or Type through a wrapper.
Inheritance: System.Dynamic.DynamicObject
Afficher le fichier Open project: Cognifide/ExposedObject

Private Properties

Свойство Type Description
Exposed System
Exposed System

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

From() public static méthode

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. ///
Résultat dynamic

From() public static méthode

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. ///
Résultat dynamic

GetMetaObject() public méthode

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. ///
Résultat System.Dynamic.DynamicMetaObject

New() public static méthode

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. ///
Résultat dynamic