コード例 #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
ファイル: Helloworld.cs プロジェクト: thinhmascot/Api.Dynamic
 public Greeter(pb::IRpcDispatch dispatch) : this(dispatch, true)
 {
 }