Exemplo n.º 1
0
 public static JavaRuntime GetJavaRuntime()
 {
     if (instance == null)
     {
         instance = new JavaRuntime();
     }
     return(instance);
 }
Exemplo n.º 2
0
        public static object NewInstance(string className)
        {
            Type type = JavaRuntime.ClassforName(className);

            return(Activator.CreateInstance(type));
        }