/// <summary>
 /// Initializes a new instance of the <see cref="PresenceDataRepository"/> class.
 /// </summary>
 /// <param name="memoryCache">Singleton memory cache object.</param>
 /// <param name="configuration">Singleton instance of application configuration.</param>
 /// <param name="telemetryClient">Singleton TelemetryClient instance used to send telemetry to Azure application insights.</param>
 /// <param name="protectedApiCallHelper">Scoped protectedApiCallHelper instance used to call Web APIs.</param>
 public PresenceDataRepository(IMemoryCache memoryCache, IConfiguration configuration, TelemetryClient telemetryClient, IProtectedApiCallHelper protectedApiCallHelper)
 {
     this.memoryCache            = memoryCache;
     this.configuration          = configuration;
     this.telemetryClient        = telemetryClient;
     this.protectedApiCallHelper = protectedApiCallHelper;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="FavoriteDistributionListMemberDataRepository"/> class.
 /// </summary>
 /// <param name="configuration">Singleton instance of application configuration.</param>
 /// <param name="protectedApiCallHelper">Scoped protectedApiCallHelper instance used to call Web APIs.</param>
 public FavoriteDistributionListMemberDataRepository(
     IConfiguration configuration, IProtectedApiCallHelper protectedApiCallHelper)
     : base(
         configuration)
 {
     this.protectedApiCallHelper = protectedApiCallHelper;
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FavoriteDistributionListDataRepository"/> class.
 /// </summary>
 /// <param name="configuration">Singleton instance of application configuration.</param>
 /// <param name="telemetryClient">Singleton TelemetryClient instance used to send telemetry to Azure application insights.</param>
 /// <param name="protectedApiCallHelper">Scoped protectedApiCallHelper instance used to call Web APIs.</param>
 public FavoriteDistributionListDataRepository(
     IConfiguration configuration, TelemetryClient telemetryClient, IProtectedApiCallHelper protectedApiCallHelper)
     : base(
         configuration)
 {
     this.telemetryClient        = telemetryClient;
     this.protectedApiCallHelper = protectedApiCallHelper;
 }