예제 #1
0
 protected internal virtual void OnResponse(ServiceContext ctx)
 {
     this.Response?.Invoke(ctx);
 }
예제 #2
0
 protected internal virtual void OnRequest(ServiceContext ctx)
 {
     this.Request?.Invoke(ctx);
 }
예제 #3
0
 protected internal virtual void OnCalled(ServiceContext ctx)
 {
     this.Called?.Invoke(ctx);
 }
예제 #4
0
 protected internal virtual void ResultHandle(ServiceContext ctx, object result)
 {
     ctx.ResultInitialized = true;
     ctx.ResultValue       = result;
     this.ResultHandle(ctx);
 }