C# Класс 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
Наследование: System.Dynamic.DynamicObject
Показать файл Открыть проект

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

Метод Описание
AnonymousDynamicType ( object instance ) : System

Require passing in off an instance

TryGetMember ( GetMemberBinder binder, object &result ) : bool

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

Метод Описание
GetProperty ( object instance, string name, object &result ) : bool

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

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

Require passing in off an instance
public AnonymousDynamicType ( object instance ) : System
instance object
Результат System

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

public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder System.Dynamic.GetMemberBinder
result object
Результат bool