C# Class PageTypeBuilder.Reflection.MethodInfoExtensions

Mostra file Open project: joelabrahamsson/Page-Type-Builder

Public Methods

Method Description
GetPropertyName ( this propertyGetterOrSetter ) : string
HasAttribute ( this memberInfo, Type attributeType ) : bool
IsCompilerGenerated ( this memberInfo ) : bool
IsGetter ( this memberInfo ) : bool
IsGetterOrSetter ( this memberInfo ) : bool
IsGetterOrSetterForPropertyWithAttribute ( this propertyGetterOrSetter, Type attributeType ) : bool
IsSetter ( this memberInfo ) : bool

Method Details

GetPropertyName() public static method

public static GetPropertyName ( this propertyGetterOrSetter ) : string
propertyGetterOrSetter this
return string

HasAttribute() public static method

public static HasAttribute ( this memberInfo, Type attributeType ) : bool
memberInfo this
attributeType System.Type
return bool

IsCompilerGenerated() public static method

public static IsCompilerGenerated ( this memberInfo ) : bool
memberInfo this
return bool

IsGetter() public static method

public static IsGetter ( this memberInfo ) : bool
memberInfo this
return bool

IsGetterOrSetter() public static method

public static IsGetterOrSetter ( this memberInfo ) : bool
memberInfo this
return bool

IsGetterOrSetterForPropertyWithAttribute() public static method

public static IsGetterOrSetterForPropertyWithAttribute ( this propertyGetterOrSetter, Type attributeType ) : bool
propertyGetterOrSetter this
attributeType System.Type
return bool

IsSetter() public static method

public static IsSetter ( this memberInfo ) : bool
memberInfo this
return bool