C# Class _3PA.Lib.Reflector

This class is from the Front-End for Dosbox and is used to present a 'vista' dialog box to select folders. Being able to use a vista style dialog box to select folders is much better then using the shell folder browser. http://code.google.com/p/fed/ Example: var r = new Reflector("System.Windows.Forms");
Afficher le fichier Open project: jcaillon/3P

Méthodes publiques

Méthode Description
Call ( object obj, string func ) : object

Calls method 'func' on object 'obj' passing parameters 'parameters'

Call2 ( object obj, string func, object parameters ) : object

Calls method 'func' on object 'obj' passing parameters 'parameters'

CallAs ( Type type, object obj, string func ) : object

Calls method 'func' on object 'obj' which is of type 'type' passing parameters 'parameters'

CallAs2 ( Type type, object obj, string func, object parameters ) : object

Calls method 'func' on object 'obj' which is of type 'type' passing parameters 'parameters'

Get ( object obj, string prop ) : object

Returns the value of property 'prop' of object 'obj'

GetAs ( Type type, object obj, string prop ) : object

Returns the value of property 'prop' of object 'obj' which has type 'type'

GetEnum ( string typeName, string name ) : object

Returns an enum value

GetType ( string typeName ) : Type

Return a Type instance for a type 'typeName'

New ( string name ) : object

Create a new object of a named type passing along any params

Reflector ( string ns ) : System

Constructor

Reflector ( string an, string ns ) : System

Constructor

Method Details

Call() public méthode

Calls method 'func' on object 'obj' passing parameters 'parameters'
public Call ( object obj, string func ) : object
obj object The object on which to excute function 'func'
func string The function to execute
Résultat object

Call2() public méthode

Calls method 'func' on object 'obj' passing parameters 'parameters'
public Call2 ( object obj, string func, object parameters ) : object
obj object The object on which to excute function 'func'
func string The function to execute
parameters object The parameters to pass to function 'func'
Résultat object

CallAs() public méthode

Calls method 'func' on object 'obj' which is of type 'type' passing parameters 'parameters'
public CallAs ( Type type, object obj, string func ) : object
type System.Type The type of 'obj'
obj object The object on which to excute function 'func'
func string The function to execute
Résultat object

CallAs2() public méthode

Calls method 'func' on object 'obj' which is of type 'type' passing parameters 'parameters'
public CallAs2 ( Type type, object obj, string func, object parameters ) : object
type System.Type The type of 'obj'
obj object The object on which to excute function 'func'
func string The function to execute
parameters object The parameters to pass to function 'func'
Résultat object

Get() public méthode

Returns the value of property 'prop' of object 'obj'
public Get ( object obj, string prop ) : object
obj object The object containing 'prop'
prop string The property name
Résultat object

GetAs() public méthode

Returns the value of property 'prop' of object 'obj' which has type 'type'
public GetAs ( Type type, object obj, string prop ) : object
type System.Type The type of 'obj'
obj object The object containing 'prop'
prop string The property name
Résultat object

GetEnum() public méthode

Returns an enum value
public GetEnum ( string typeName, string name ) : object
typeName string The name of enum type
name string The name of the value
Résultat object

GetType() public méthode

Return a Type instance for a type 'typeName'
public GetType ( string typeName ) : Type
typeName string The name of the type
Résultat System.Type

New() public méthode

Create a new object of a named type passing along any params
public New ( string name ) : object
name string The name of the type to create
Résultat object

Reflector() public méthode

Constructor
public Reflector ( string ns ) : System
ns string The namespace containing types to be used
Résultat System

Reflector() public méthode

Constructor
public Reflector ( string an, string ns ) : System
an string A specific assembly name (used if the assembly name does not tie exactly with the namespace)
ns string The namespace containing types to be used
Résultat System