Exemple #1
0
 public SubscriptionRegistrationHttpTrigger(
     ILogger <SubscriptionRegistrationHttpTrigger> logger,
     ISubscriptionRegistrationService subscriptionRegistrationService)
 {
     this.logger = logger;
     this.subscriptionRegistrationService = subscriptionRegistrationService;
 }
 public SubscriptionRegistrationHttpTrigger(
     ILogger <SubscriptionRegistrationHttpTrigger> logger,
     EnvironmentValues environmentValues,
     ISubscriptionRegistrationService subscriptionRegistrationService)
 {
     this.logger            = logger;
     this.environmentValues = environmentValues;
     this.subscriptionRegistrationService = subscriptionRegistrationService;
 }
 public SubscriptionRegistrationHttpTriggerTests()
 {
     logger = A.Fake <ILogger <SubscriptionRegistrationHttpTrigger> >();
     subscriptionRegistrationService = A.Fake <ISubscriptionRegistrationService>();
 }
Exemple #4
0
 public SubscriptionRegistrationBackgroundService(ISubscriptionRegistrationService subscriptionRegistrationService, ILogger <SubscriptionRegistrationBackgroundService> logger, IConfiguration configuration)
 {
     this.subscriptionRegistrationService = subscriptionRegistrationService;
     this.logger        = logger;
     this.configuration = configuration;
 }