/// <summary>
 /// Creates a new reactive processing service provider using the specified connection object.
 /// </summary>
 /// <param name="connection">The reactive processing service connection.</param>
 /// <param name="commandTextFactory">The command text factory.</param>
 /// <param name="commandResponseParser">The command response parser.</param>
 public ReactiveServiceProvider(
     IReactiveServiceConnection connection,
     ICommandTextFactory <TExpression> commandTextFactory,
     ICommandResponseParser commandResponseParser)
 {
     Connection             = connection;
     _commandTextFactory    = commandTextFactory;
     _commandResponseParser = commandResponseParser;
     Provider = new MetadataQueryProvider(this);
 }
Esempio n. 2
0
 private RemotingServiceProvider(IReactiveServiceConnection connection, CommandTextFactory <Expression> commandTextFactory)
     : base(connection, commandTextFactory, commandTextFactory)
 {
 }
Esempio n. 3
0
 public RemotingServiceProvider(IReactiveServiceConnection connection)
     : this(connection, new CommandTextFactory <Expression>(new ClientSerializationHelpers()))
 {
 }
Esempio n. 4
0
 public RemotingServiceProvider(IReactiveServiceConnection connection, Func <Type, Uri, object> observerFactory)
     : this(connection)
 {
     _observerFactory = observerFactory;
 }