public class TClrActivator
extends java.lang.Object
Constructor and Description |
---|
TClrActivator() |
Modifier and Type | Method and Description |
---|---|
static DotNetNativeTypes.ClrObject |
createGenericInstance(java.lang.String typeName,
java.lang.String[] genericTypeNames)
Creates a generic object instance of the specified type with the specified GenericTypes using the constructor that best matches the specified parameters.
|
static IClrObject |
createGenericInstance(java.lang.String typeName,
java.lang.String[] genericTypeNames,
java.lang.Object[] parameters)
Creates a generic object instance of the specified type with the specified GenericTypes using the constructor that best matches the specified parameters.
|
static TClrStaticObject |
createGenericStaticInstance(java.lang.String staticTypeName,
java.lang.String... typeNames)
Creates a static class object instance from the specified type name.
|
static IClrObject |
createInstance(IClrType type)
Creates an instance of the specified type name using that type's parameterless constructor.
|
static IClrObject |
createInstance(IClrType type,
java.lang.Object[] arguments)
Creates an instance of the specified type using the constructor that best matches the specified parameters.
|
static IClrObject |
createInstance(java.lang.String typeName)
Creates an instance of the specified type name using that type's parameterless constructor.
|
static IClrObject |
createInstance(java.lang.String typeName,
java.lang.Object[] arguments)
Creates an instance of the specified type using the constructor that best matches the specified parameters.
|
static DotNetNativeTypes.ClrObject |
createInstanceAsClrObject(java.lang.String typeName,
java.lang.Object[] arguments)
Creates an instance of the specified type using the constructor that best matches the specified parameters.
|
static TClrStaticObject |
createStaticInstance(java.lang.String staticTypeName)
Creates a static class object instance from the specified type name.
|
public static final IClrObject createInstance(java.lang.String typeName) throws EClrError
typeName
- The type name of object to create.EClrError
public static final IClrObject createInstance(java.lang.String typeName, java.lang.Object[] arguments) throws EClrError
typeName
- The type name of object to create.arguments
- An array of arguments that match in number, order, and type the parameters of the constructor to invoke.EClrError
public static final DotNetNativeTypes.ClrObject createInstanceAsClrObject(java.lang.String typeName, java.lang.Object[] arguments) throws EClrError
typeName
- The type name of object to create.arguments
- An array of arguments that match in number, order, and type the parameters of the constructor to invoke.EClrError
public static final IClrObject createInstance(IClrType type) throws EClrError
type
- The type of object to create.EClrError
public static final IClrObject createInstance(IClrType type, java.lang.Object[] arguments) throws EClrError
type
- The type of object to create.arguments
- An array of arguments that match in number, order, and type the parameters of the constructor to invoke.EClrError
public static TClrStaticObject createStaticInstance(java.lang.String staticTypeName)
staticTypeName
- The type name to be used to create static object.public static TClrStaticObject createGenericStaticInstance(java.lang.String staticTypeName, java.lang.String... typeNames)
staticTypeName
- The type name to be used to create static object.typeNames
- An array of type names to be substituted for the type parameters of the generic type.public static final DotNetNativeTypes.ClrObject createGenericInstance(java.lang.String typeName, java.lang.String[] genericTypeNames) throws EClrError
typeName
- The type name of object to create.genericTypeNames
- A string of generic type names separated by commas or semi-colon.EClrError
public static final IClrObject createGenericInstance(java.lang.String typeName, java.lang.String[] genericTypeNames, java.lang.Object[] parameters) throws EClrError
typeName
- The type name of object to create.genericTypeNames
- A string of generic type names separated by commas or semi-colon.parameters
- An array of arguments that match in number, order, and type the parameters of the constructor to invoke.EClrError