public NavigationAdapter (NavigationImplementor implementor) { if (implementor == null) throw new ArgumentNullException ("implementor"); else if (!(implementor is GLib.Object)) throw new ArgumentException ("implementor must be a subclass of GLib.Object"); this.implementor = implementor as GLib.Object; }
static void SendEvent_cb(IntPtr inst, IntPtr structure) { try { NavigationImplementor __obj = GLib.Object.GetObject(inst, false) as NavigationImplementor; __obj.SendEvent(structure == IntPtr.Zero ? null : (Gst.Structure)GLib.Opaque.GetOpaque(structure, typeof(Gst.Structure), true)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
public NavigationAdapter(NavigationImplementor implementor) { if (implementor == null) { throw new ArgumentNullException("implementor"); } else if (!(implementor is GLib.Object)) { throw new ArgumentException("implementor must be a subclass of GLib.Object"); } this.implementor = implementor as GLib.Object; }