public TlsClientConnectionAdapter (ITlsClientConnectionImplementor 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 CopySessionState_cb(IntPtr inst, IntPtr source) { try { ITlsClientConnectionImplementor __obj = GLib.Object.GetObject(inst, false) as ITlsClientConnectionImplementor; __obj.CopySessionState(GLib.TlsClientConnectionAdapter.GetObject(source, false)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
public TlsClientConnectionAdapter(ITlsClientConnectionImplementor 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; }