Пример #1
0
 /* <type name="none" type="void" managed-name="None" /> */
 /* transfer-ownership:none */
 static extern void g_signal_handler_disconnect(
     /* <type name="Object" type="gpointer" managed-name="Object" /> */
     /* transfer-ownership:none */
     IntPtr instance,
     /* <type name="gulong" type="gulong" managed-name="Gulong" /> */
     /* transfer-ownership:none */
     nulong handlerId);
Пример #2
0
        internal SignalHandler(Object instance, nulong handlerId)
        {
            if (instance == null)
            {
                throw new ArgumentNullException(nameof(instance));
            }

            this.instance  = instance;
            this.handlerId = handlerId;
        }