示例#1
0
 public override Task <GetObservationsResponse> GetObservations(GetObservationsRequest request, ServerCallContext context)
 {
     IOCContainer.Logger.Info("GetObservations() called");
     return(Task.FromResult(ServerHandler.CallGetObservations(request)));
 }
示例#2
0
 public override Task <GetVersionResponse> GetVersion(Empty request, ServerCallContext context)
 {
     IOCContainer.Logger.Info("GetVersion() called");
     return(Task.FromResult(ServerHandler.CallGetVersion(request)));
 }