Class RenamedTypeUtils
Inheritance
RenamedTypeUtils
Assembly: Xareus.Scenarios.dll
Syntax
public static class RenamedTypeUtils
Methods
GetConstructorWithCache(string, Type[])
Gets the (public, protected or private) constructor of the given type with the given parameters, from cache if possible
Declaration
public static ConstructorInfo GetConstructorWithCache(string classname, Type[] parametersTypes)
Parameters
Type |
Name |
Description |
string |
classname |
|
Type[] |
parametersTypes |
|
Returns
GetRenamedType(string)
Gets the type corresponding to the given name (the type might have been marked with the Renamed attribute)
Declaration
public static Type GetRenamedType(string classname)
Parameters
Type |
Name |
Description |
string |
classname |
|
Returns
GetRenamedTypeAndRenamer(string)
Gets the type corresponding to the given name and its renamer if applicable (the type might have been marked with the Renamed attribute)
Declaration
public static Tuple<Type, IRenameClass> GetRenamedTypeAndRenamer(string classname)
Parameters
Type |
Name |
Description |
string |
classname |
|
Returns
GetTypeFromCache(string)
Gets the type with the given name, from cache if possible and with its renamer if there is one
Declaration
public static Tuple<Type, IRenameClass> GetTypeFromCache(string classname)
Parameters
Type |
Name |
Description |
string |
classname |
|
Returns