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
Datei anzeigen Open project: RickStrahl/Westwind.RazorHosting

Public Methods

Method Description
AnonymousDynamicType ( object instance ) : System

Require passing in off an instance

TryGetMember ( GetMemberBinder binder, object &result ) : bool

Private Methods

Method Description
GetProperty ( object instance, string name, object &result ) : bool

Method Details

AnonymousDynamicType() public method

Require passing in off an instance
public AnonymousDynamicType ( object instance ) : System
instance object
return System

TryGetMember() public method

public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder System.Dynamic.GetMemberBinder
result object
return bool