C# Class UIOMatic.Helper

Exibir arquivo Open project: TimGeyssens/UIOMatic

Public Methods

Method Description
ChangeType ( object value, Type type ) : object
GetTypesWithUIOMaticAttribute ( ) : IEnumerable
SetValue ( object inputObject, string propertyName, object propertyVal ) : void

Private Methods

Method Description
EnsureTypes ( ) : IEnumerable
IsNullableType ( Type type ) : bool

Method Details

ChangeType() public static method

public static ChangeType ( object value, Type type ) : object
value object
type System.Type
return object

GetTypesWithUIOMaticAttribute() public static method

public static GetTypesWithUIOMaticAttribute ( ) : IEnumerable
return IEnumerable

SetValue() public static method

public static SetValue ( object inputObject, string propertyName, object propertyVal ) : void
inputObject object
propertyName string
propertyVal object
return void