Jörg Taubert
2017-01-23 11:24:47 UTC
Hello,
is there a way to create instances at runtime using IKVM.Reflection?
I would like to replace the following code with the parameter type of type
IKVM.Reflection.Type instead of System.Type.
Parameters:
IKVM.Reflection.Type type
int[] arrayDimensions
var instance = arrayDimensions != null
? Array.CreateInstance(type, arrayDimensions)
: Activator.CreateInstance(type);
Friendly regards
Joerg
is there a way to create instances at runtime using IKVM.Reflection?
I would like to replace the following code with the parameter type of type
IKVM.Reflection.Type instead of System.Type.
Parameters:
IKVM.Reflection.Type type
int[] arrayDimensions
var instance = arrayDimensions != null
? Array.CreateInstance(type, arrayDimensions)
: Activator.CreateInstance(type);
Friendly regards
Joerg