public static unsafe global::Com.Mob.Tools.Mscript.Commands.CommandCode ValueOf(global::Com.Mob.Tools.Mscript.MCommand command) { const string __id = "valueOf.(Lcom/mob/tools/mscript/MCommand;)Lcom/mob/tools/mscript/commands/CommandCode;"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((command == null) ? IntPtr.Zero : ((global::Java.Lang.Object)command).Handle); var __rm = _members.StaticMethods.InvokeObjectMethod(__id, __args); return(global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Mscript.Commands.CommandCode> (__rm.Handle, JniHandleOwnership.TransferLocalRef)); } finally { } }
static IntPtr n_Execute(IntPtr jnienv, IntPtr native__this) { global::Com.Mob.Tools.Mscript.MCommand __this = global::Java.Lang.Object.GetObject <global::Com.Mob.Tools.Mscript.MCommand> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.Execute())); }