C# Class GameEngine.Extensions.ReflectionExtensions

Afficher le fichier Open project: MichaelAquilina/Some-2D-RPG

Méthodes publiques

Méthode Description
GetProperty ( object target, string propertyName ) : object
SetProperty ( object target, string propertyName, object value ) : void
SmartConvert ( string value, Type target ) : object
SmartSetProperty ( object target, string propertyName, string value ) : void

Method Details

GetProperty() public static méthode

public static GetProperty ( object target, string propertyName ) : object
target object
propertyName string
Résultat object

SetProperty() public static méthode

public static SetProperty ( object target, string propertyName, object value ) : void
target object
propertyName string
value object
Résultat void

SmartConvert() public static méthode

public static SmartConvert ( string value, Type target ) : object
value string
target System.Type
Résultat object

SmartSetProperty() public static méthode

public static SmartSetProperty ( object target, string propertyName, string value ) : void
target object
propertyName string
value string
Résultat void