コード例 #1
0
		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;
		}
コード例 #2
0
 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);
     }
 }
コード例 #3
0
 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;
 }