public TagSetterAdapter (TagSetterImplementor implementor) { if (implementor == null) throw new ArgumentNullException ("implementor"); else if (!(implementor is Gst.GLib.Object)) throw new ArgumentException ("implementor must be a subclass of Gst.GLib.Object"); this.implementor = implementor as Gst.GLib.Object; }
protected SignalCallback (Gst.GLib.Object obj, Delegate eh, System.Type argstype) { _key = _NextKey++; _obj = obj; _handler = eh; _argstype = argstype; _Instances [_key] = this; }
public PropertyProbeAdapter (IntPtr handle) { if (!_gtype.IsInstance (handle)) throw new ArgumentException ("The gobject doesn't implement the GInterface of this adapter", "handle"); implementor = Gst.GLib.Object.GetObject (handle); }
public ClosureInvokedArgs (Gst.GLib.Object obj, EventArgs args) { this.obj = obj; this.args = args; }
protected virtual void Dispose (bool disposing) { if (disposing) { _obj = null; _handler = null; _argstype = null; } }