private void InternalReply(GLib.MountOperationResult result) { ReplyNativeDelegate unmanaged = class_abi.BaseOverride <ReplyNativeDelegate>(this.LookupGType(), "reply"); if (unmanaged == null) { return; } unmanaged(this.Handle, (int)result); }
protected virtual void OnReply(GLib.MountOperationResult result) { GLib.Value ret = GLib.Value.Empty; GLib.ValueArray inst_and_params = new GLib.ValueArray(2); GLib.Value[] vals = new GLib.Value [2]; vals [0] = new GLib.Value(this); inst_and_params.Append(vals [0]); vals [1] = new GLib.Value(result); inst_and_params.Append(vals [1]); g_signal_chain_from_overridden(inst_and_params.ArrayPtr, ref ret); foreach (GLib.Value v in vals) { v.Dispose(); } }
private void InternalReply(GLib.MountOperationResult result) { ReplyNativeDelegate unmanaged = null; unsafe { IntPtr *raw_ptr = (IntPtr *)(((long)this.LookupGType().GetThresholdType().GetClassPtr()) + (long)class_abi.GetFieldOffset("reply")); unmanaged = (ReplyNativeDelegate)Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(ReplyNativeDelegate)); } if (unmanaged == null) { return; } unmanaged(this.Handle, (int)result); }
public void EmitReply(GLib.MountOperationResult result) { g_mount_operation_reply(Handle, (int)result); }
protected virtual void OnReply(GLib.MountOperationResult result) { InternalReply(result); }