コード例 #1
0
#pragma warning restore 0649

        public void OnChargerInfoUpdate(global::Com.Vivalnk.Model.ChargerInfo p0)
        {
            var __h = OnChargerInfoUpdateHandler;

            if (__h != null)
            {
                __h(sender, new ChargerInfoUpdateEventArgs(p0));
            }
        }
コード例 #2
0
        public unsafe void OnChargerInfoUpdate(global::Com.Vivalnk.Model.ChargerInfo p0)
        {
            if (id_onChargerInfoUpdate_Lcom_vivalnk_model_ChargerInfo_ == IntPtr.Zero)
            {
                id_onChargerInfoUpdate_Lcom_vivalnk_model_ChargerInfo_ = JNIEnv.GetMethodID(class_ref, "onChargerInfoUpdate", "(Lcom/vivalnk/model/ChargerInfo;)V");
            }
            JValue *__args = stackalloc JValue [1];

            __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onChargerInfoUpdate_Lcom_vivalnk_model_ChargerInfo_, __args);
        }
コード例 #3
0
 public ChargerInfoUpdateEventArgs(global::Com.Vivalnk.Model.ChargerInfo p0)
 {
     this.p0 = p0;
 }