Exemplo n.º 1
0
 public ServerStub(pb::IRpcDispatch implementation, bool dispose)
 {
     pb::ThrowHelper.ThrowIfNull(this.implementation = implementation, "implementation");
     this.dispose = dispose && implementation is global::System.IDisposable;
 }
Exemplo n.º 2
0
 public ServerStub(pb::IRpcDispatch implementation) : this(implementation, true)
 {
 }
Exemplo n.º 3
0
 public BookService(pb::IRpcDispatch dispatch) : this(dispatch, true)
 {
 }
Exemplo n.º 4
0
 public BookService(pb::IRpcDispatch dispatch, bool dispose)
 {
     pb::ThrowHelper.ThrowIfNull(this.dispatch = dispatch, "dispatch");
     this.dispose = dispose && dispatch is global::System.IDisposable;
 }
Exemplo n.º 5
0
 public Greeter(pb::IRpcDispatch dispatch) : this(dispatch, true)
 {
 }