C# Class SpecFlowAssist.PropertyExtensionMethods

ファイルを表示 Open project: darrencauthon/SpecFlowAssist

Public Methods

Method Description
GetPropertyValue ( this @object, string propertyName ) : object
SetPropertyValue ( this @object, string propertyName, object value ) : void

Private Methods

Method Description
GetThePropertyOnThisObject ( object @object, string propertyName ) : PropertyInfo

Method Details

GetPropertyValue() public static method

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

SetPropertyValue() public static method

public static SetPropertyValue ( this @object, string propertyName, object value ) : void
@object this
propertyName string
value object
return void