Example #1
0
        public DefaultSubscription(ISubscriptionConfiguration <T> configuration)
        {
            configuration.Require("configuration");
            configuration.Validate();

            Configuration = configuration;
        }
Example #2
0
        public void SubscribeTo <T>(ISubscriptionConfiguration <T> configuration)
            where T : class
        {
            configuration.Require("configuration");

            SubscribeTo(new DefaultSubscription <T>(configuration));
        }
Example #3
0
 public DefaultSubscriptionConfigurer(ISubscriptionConfiguration <T> configuration)
 {
     configuration.Require("configuration");
     this.configuration = configuration;
 }