C# Класс Habanero.Testability.Helpers.DummyPropertyInfo

This class is used by Reflection you cannot construct an instance of Property Info directly. This class only implementes the .Name and .Type interface of the PropertyInfo. This class is copied as is from FluentNHibernate.
Наследование: System.Reflection.PropertyInfo
Показать файл Открыть проект

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

Метод Описание
DummyPropertyInfo ( string name, Type type ) : System
GetAccessors ( bool nonPublic ) : System.Reflection.MethodInfo[]
GetCustomAttributes ( Type attributeType, bool inherit ) : object[]
GetCustomAttributes ( bool inherit ) : object[]
GetGetMethod ( bool nonPublic ) : MethodInfo
GetIndexParameters ( ) : System.Reflection.ParameterInfo[]
GetSetMethod ( bool nonPublic ) : MethodInfo
GetValue ( object obj, BindingFlags invokeAttr, Binder binder, object index, CultureInfo culture ) : object
IsDefined ( Type attributeType, bool inherit ) : bool
SetValue ( object obj, object value, BindingFlags invokeAttr, Binder binder, object index, CultureInfo culture ) : void

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

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

public DummyPropertyInfo ( string name, Type type ) : System
name string
type System.Type
Результат System

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

public GetAccessors ( bool nonPublic ) : System.Reflection.MethodInfo[]
nonPublic bool
Результат System.Reflection.MethodInfo[]

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

public GetCustomAttributes ( Type attributeType, bool inherit ) : object[]
attributeType System.Type
inherit bool
Результат object[]

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

public GetCustomAttributes ( bool inherit ) : object[]
inherit bool
Результат object[]

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

public GetGetMethod ( bool nonPublic ) : MethodInfo
nonPublic bool
Результат System.Reflection.MethodInfo

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

public GetIndexParameters ( ) : System.Reflection.ParameterInfo[]
Результат System.Reflection.ParameterInfo[]

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

public GetSetMethod ( bool nonPublic ) : MethodInfo
nonPublic bool
Результат System.Reflection.MethodInfo

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

public GetValue ( object obj, BindingFlags invokeAttr, Binder binder, object index, CultureInfo culture ) : object
obj object
invokeAttr BindingFlags
binder System.Reflection.Binder
index object
culture System.Globalization.CultureInfo
Результат object

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

public IsDefined ( Type attributeType, bool inherit ) : bool
attributeType System.Type
inherit bool
Результат bool

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

public SetValue ( object obj, object value, BindingFlags invokeAttr, Binder binder, object index, CultureInfo culture ) : void
obj object
value object
invokeAttr BindingFlags
binder System.Reflection.Binder
index object
culture System.Globalization.CultureInfo
Результат void