Exemplo n.º 1
0
 /**
  * Registers a resolver
  */
 public static void RegisterResolver(string queryId, QueryResultResolver resolver)
 {
     systemInstance.RegisterResolver(queryId, resolver);
 }
Exemplo n.º 2
0
 /**
  * Registers a query resolver
  */
 public void RegisterResolver(string queryId, QueryResultResolver resolver)
 {
     Assertion.Assert(!this.resolverMap.ContainsKey(queryId));             // system should not contains the specified resolver yet
     this.resolverMap[queryId] = resolver;
 }