public SubscriberRepository(AmazonAccountSettings amazonAccountSettings, IAmazonSqsFacade amazonSqsFacade)
        {
            amazonAccountSettings.Requires("amazonAccountSettings").IsNotNull();
            amazonSqsFacade.Requires("amazonSqsFacade").IsNotNull();

            this.amazonAccountSettings = amazonAccountSettings;
            this.amazonSqsFacade = amazonSqsFacade;
        }
        public SubscriberRepository(AmazonAccountSettings amazonAccountSettings, IAmazonSqsFacade amazonSqsFacade)
        {
            amazonAccountSettings.Requires("amazonAccountSettings").IsNotNull();
            amazonSqsFacade.Requires("amazonSqsFacade").IsNotNull();

            this.amazonAccountSettings = amazonAccountSettings;
            this.amazonSqsFacade       = amazonSqsFacade;
        }
        public SubscriptionService(IResourceCounter resourceCounter, IAmazonSnsFacade amazonSnsFacade,
                                   IAmazonSqsFacade amazonSqsFacade, ISubscriberRepository subscriberRespoitroy, QueuePoller queuePoller)
        {
            resourceCounter.Requires("resourceCounter").IsNotNull();
            amazonSnsFacade.Requires("amazonSnsFacade").IsNotNull();
            amazonSqsFacade.Requires("amazonSqsFacade").IsNotNull();
            queuePoller.Requires("queuePoller").IsNotNull();
            subscriberRespoitroy.Requires("subscriberRespoitroy").IsNotNull();

            this.resourceCounter      = resourceCounter;
            this.amazonSnsFacade      = amazonSnsFacade;
            this.amazonSqsFacade      = amazonSqsFacade;
            this.subscriberRespoitroy = subscriberRespoitroy;
            this.queuePoller          = queuePoller;
        }
        public SubscriptionService(IResourceCounter resourceCounter, IAmazonSnsFacade amazonSnsFacade,
            IAmazonSqsFacade amazonSqsFacade, ISubscriberRepository subscriberRespoitroy, QueuePoller queuePoller)
        {
            resourceCounter.Requires("resourceCounter").IsNotNull();
            amazonSnsFacade.Requires("amazonSnsFacade").IsNotNull();
            amazonSqsFacade.Requires("amazonSqsFacade").IsNotNull();
            queuePoller.Requires("queuePoller").IsNotNull();
            subscriberRespoitroy.Requires("subscriberRespoitroy").IsNotNull();

            this.resourceCounter = resourceCounter;
            this.amazonSnsFacade = amazonSnsFacade;
            this.amazonSqsFacade = amazonSqsFacade;
            this.subscriberRespoitroy = subscriberRespoitroy;
            this.queuePoller = queuePoller;
        }
Exemplo n.º 5
0
        public QueuePoller(IAmazonSqsFacade amazonFacade)
        {
            amazonFacade.Requires("amazonFacade").IsNotNull();

            this.amazonFacade = amazonFacade;
        }
Exemplo n.º 6
0
        public QueuePoller(IAmazonSqsFacade amazonFacade)
        {
            amazonFacade.Requires("amazonFacade").IsNotNull();

            this.amazonFacade = amazonFacade;
        }