C# Class Guidelines.Core.ObjectExtensions

Show file Open project: basicdays/Guidelines

Public Methods

Method Description
GetPropertyValue ( this o, string propertyName ) : object
HasAttribute ( this obj, Type attributeType ) : bool

Method Details

GetPropertyValue() public static method

public static GetPropertyValue ( this o, string propertyName ) : object
o this
propertyName string
return object

HasAttribute() public static method

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