Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="QueryHandlerCollectionFactory" /> class.
 /// </summary>
 /// <param name="queryFactoryResolver">The model factory resolver.</param>
 /// <param name="messageHandlerResolver">The message handler resolver.</param>
 public QueryHandlerCollectionFactory(
     IQueryFactoryResolver queryFactoryResolver,
     IServerMessageHandlerResolver messageHandlerResolver)
 {
     this.queryFactoryResolver   = queryFactoryResolver;
     this.messageHandlerResolver = messageHandlerResolver;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NullServiceClient" /> class.
 /// </summary>
 /// <param name="queryFactoryResolver">The query factory resolver.</param>
 public NullServiceClient(IQueryFactoryResolver queryFactoryResolver)
 {
     this.originationHash      = Process.GetCurrentProcess().Id;
     this.queryFactoryResolver = queryFactoryResolver;
 }