Example #1
0
            public static unsafe global::Com.Liveperson.Infra.Configuration.LptagEnvironment.Env ValueOf(string p0)
            {
                if (id_valueOf_Ljava_lang_String_ == IntPtr.Zero)
                {
                    id_valueOf_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "valueOf", "(Ljava/lang/String;)Lcom/liveperson/infra/configuration/LptagEnvironment$Env;");
                }
                IntPtr native_p0 = JNIEnv.NewString(p0);

                try {
                    JValue *__args = stackalloc JValue [1];
                    __args [0] = new JValue(native_p0);
                    global::Com.Liveperson.Infra.Configuration.LptagEnvironment.Env __ret = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Configuration.LptagEnvironment.Env> (JNIEnv.CallStaticObjectMethod(class_ref, id_valueOf_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef);
                    return(__ret);
                } finally {
                    JNIEnv.DeleteLocalRef(native_p0);
                }
            }
Example #2
0
 static void n_SetEnvironment_Lcom_liveperson_infra_configuration_LptagEnvironment_Env_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Liveperson.Infra.Configuration.LptagEnvironment     __this = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Configuration.LptagEnvironment> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Liveperson.Infra.Configuration.LptagEnvironment.Env p0     = global::Java.Lang.Object.GetObject <global::Com.Liveperson.Infra.Configuration.LptagEnvironment.Env> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.Environment = p0;
 }