Exemplo n.º 1
0
 public MySearchService() : base("search_service")
 {
     this.AddMethod(MyMethodDefinition <SearchRequest, SearchResponse> .Create("search", Search));
 }
Exemplo n.º 2
0
 public MySearchClient(SimpleClient canal) : base("search_service", canal)
 {
     AddMethod(MyMethodDefinition <SearchRequest, SearchResponse> .Create("search"));
     this.Start();
 }