public ServerStub(pb::IRpcDispatch implementation, bool dispose) { pb::ThrowHelper.ThrowIfNull(this.implementation = implementation, "implementation"); this.dispose = dispose && implementation is global::System.IDisposable; }
public ServerStub(pb::IRpcDispatch implementation) : this(implementation, true) { }
public BookService(pb::IRpcDispatch dispatch) : this(dispatch, true) { }
public BookService(pb::IRpcDispatch dispatch, bool dispose) { pb::ThrowHelper.ThrowIfNull(this.dispatch = dispatch, "dispatch"); this.dispose = dispose && dispatch is global::System.IDisposable; }
public Greeter(pb::IRpcDispatch dispatch) : this(dispatch, true) { }