C# Class System.Linq.Expressions.ExpressionExtensions

Exibir arquivo Open project: orbital7/orbital7.extensions Class Usage Examples

Public Methods

Method Description
GetAttribute ( Expression propertyExpression ) : TAttribute
GetPropertyDisplayAttribute ( Expression propertyExpression ) : DisplayAttribute
GetPropertyDisplayDescription ( Expression propertyExpression ) : string
GetPropertyDisplayName ( Expression propertyExpression ) : string
GetPropertyDisplayShortName ( Expression propertyExpression ) : string
HasAttribute ( Expression expression ) : bool
HasAttribute ( Expression expression, Type attributeType ) : bool

Method Details

GetAttribute() public static method

public static GetAttribute ( Expression propertyExpression ) : TAttribute
propertyExpression Expression
return TAttribute

GetPropertyDisplayAttribute() public static method

public static GetPropertyDisplayAttribute ( Expression propertyExpression ) : DisplayAttribute
propertyExpression Expression
return DisplayAttribute

GetPropertyDisplayDescription() public static method

public static GetPropertyDisplayDescription ( Expression propertyExpression ) : string
propertyExpression Expression
return string

GetPropertyDisplayName() public static method

public static GetPropertyDisplayName ( Expression propertyExpression ) : string
propertyExpression Expression
return string

GetPropertyDisplayShortName() public static method

public static GetPropertyDisplayShortName ( Expression propertyExpression ) : string
propertyExpression Expression
return string

HasAttribute() public static method

public static HasAttribute ( Expression expression ) : bool
expression Expression
return bool

HasAttribute() public static method

public static HasAttribute ( Expression expression, Type attributeType ) : bool
expression Expression
attributeType Type
return bool