C# Class GameDevWare.Charon.Utils.ObjectExtentions

Datei anzeigen Open project: deniszykov/charon-unity3d

Public Methods

Method Description
GetFieldValue ( this target, string fieldName ) : object
GetPropertyValue ( this target, string propertyName ) : object
Invoke ( this target, string methodName ) : object
SetFieldValue ( this target, string fieldName, object value ) : void
SetPropertyValue ( this target, string propertyName, object value ) : void

Method Details

GetFieldValue() public static method

public static GetFieldValue ( this target, string fieldName ) : object
target this
fieldName string
return object

GetPropertyValue() public static method

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

Invoke() public static method

public static Invoke ( this target, string methodName ) : object
target this
methodName string
return object

SetFieldValue() public static method

public static SetFieldValue ( this target, string fieldName, object value ) : void
target this
fieldName string
value object
return void

SetPropertyValue() public static method

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