C# Class log4net.Tests.Utils

Summary description for Class1.
Mostra file Open project: aurora-sim/Aurora-Libs

Public Methods

Method Description
CreateInstance ( Type targetType ) : object
CreateInstance ( string targetType ) : object
GetField ( object target, string name ) : object
GetProperty ( object target, string name ) : object
InvokeMethod ( Type target, string name ) : object
InvokeMethod ( object target, string name ) : object
SetField ( object target, string name, object val ) : void
SetProperty ( object target, string name, object val ) : void

Private Methods

Method Description
GetTypesArray ( object args ) : System.Type[]
Utils ( ) : System

Method Details

CreateInstance() public static method

public static CreateInstance ( Type targetType ) : object
targetType System.Type
return object

CreateInstance() public static method

public static CreateInstance ( string targetType ) : object
targetType string
return object

GetField() public static method

public static GetField ( object target, string name ) : object
target object
name string
return object

GetProperty() public static method

public static GetProperty ( object target, string name ) : object
target object
name string
return object

InvokeMethod() public static method

public static InvokeMethod ( Type target, string name ) : object
target System.Type
name string
return object

InvokeMethod() public static method

public static InvokeMethod ( object target, string name ) : object
target object
name string
return object

SetField() public static method

public static SetField ( object target, string name, object val ) : void
target object
name string
val object
return void

SetProperty() public static method

public static SetProperty ( object target, string name, object val ) : void
target object
name string
val object
return void