Esempio n. 1
0
 public static IIdempotenceTracker Default()
 {
     return
         (new IdempotenceTracker(new ScriptProvider(),
                                 DatabaseConnectionFactory.Default(),
                                 DatabaseGateway.Default()));
 }
Esempio n. 2
0
 public SqlQueue(Uri uri)
     : this(uri,
            new ScriptProvider(),
            DatabaseConnectionFactory.Default(),
            DatabaseGateway.Default())
 {
 }
 public static ISubscriptionManager Default()
 {
     return
         (new SubscriptionManager(new ScriptProvider(),
                                  DatabaseConnectionFactory.Default(),
                                  DatabaseGateway.Default()));
 }
        public static ISubscriptionManager Default()
        {
            var configuration = SqlServerSection.Configuration();

            return
                (new SubscriptionManager(configuration,
                                         new ScriptProvider(configuration),
                                         DatabaseConnectionFactory.Default(),
                                         DatabaseGateway.Default()));
        }
        public static IIdempotenceService Default()
        {
            var configuration = SqlServerSection.Configuration();

            return
                (new IdempotenceService(configuration,
                                        new ScriptProvider(configuration),
                                        DatabaseConnectionFactory.Default(),
                                        DatabaseGateway.Default()));
        }
 public SqlQueueFactory()
 {
     scriptProvider            = ScriptProvider.Default();
     databaseConnectionFactory = DatabaseConnectionFactory.Default();
     databaseGateway           = DatabaseGateway.Default();
 }