C# Class Westwind.RazorHosting.AnonymousDynamicType

This class handles special non-public types - anonymous types and allows returning property values from them. Requires Reflection permissions for internal,private properties
Inheritance: System.Dynamic.DynamicObject
Afficher le fichier Open project: RickStrahl/Westwind.RazorHosting

Méthodes publiques

Méthode Description
AnonymousDynamicType ( object instance ) : System

Require passing in off an instance

TryGetMember ( GetMemberBinder binder, object &result ) : bool

Private Methods

Méthode Description
GetProperty ( object instance, string name, object &result ) : bool

Method Details

AnonymousDynamicType() public méthode

Require passing in off an instance
public AnonymousDynamicType ( object instance ) : System
instance object
Résultat System

TryGetMember() public méthode

public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder System.Dynamic.GetMemberBinder
result object
Résultat bool