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