public ApproveRejectComment(Authorization authorization, INotifyComment notifyComment, Mapper mapper, ITableClientFactory tableClientFactory) { _authorization = authorization ?? throw new ArgumentNullException(nameof(authorization)); _notifier = notifyComment ?? throw new ArgumentNullException(nameof(notifyComment)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _tableClientFactory = tableClientFactory ?? throw new ArgumentNullException(nameof(tableClientFactory)); }
public AddComment(Authorization authorization, INotifyComment notifyComment, Mapper mapper, ITableClientFactory tableClientFactory) { _authorization = authorization; _notifier = notifyComment; _mapper = mapper; _tableClientFactory = tableClientFactory; }
/// <summary> /// Initializes a new instance of the <see cref="AzureTablesSagaRepository"/> class. /// </summary> /// <param name="tableClientFactory">The table client factory.</param> /// <param name="messageSerialiser">The message serialiser.</param> /// <param name="sagaFactory">The saga factory.</param> public AzureTablesSagaRepository(ITableClientFactory tableClientFactory, IMessageSerialiser messageSerialiser, ISagaFactory sagaFactory) { Guard.ArgumentIsNotNull(tableClientFactory, nameof(tableClientFactory)); Guard.ArgumentIsNotNull(sagaFactory, nameof(sagaFactory)); Guard.ArgumentIsNotNull(messageSerialiser, nameof(messageSerialiser)); this.tableClientFactory = tableClientFactory; this.messageSerialiser = messageSerialiser; this.sagaFactory = sagaFactory; }
public SeasonRepository(ITableClientFactory <SeasonStorage> tableClientFactory) { _tableClient = tableClientFactory.GetCloudTable(); }
public SettingsService(ITableClientFactory tableClientFactory) { _tableClientFactory = tableClientFactory; }
public FeedTitlesRepository(ITableClientFactory <TitlesStorage> tableClientFactory) { _tableClient = tableClientFactory.GetCloudTable(); }
public InterestedSeriesRepository(ITableClientFactory <InterestedStorage> tableClientFactory) { _tableClient = tableClientFactory.GetCloudTable(); }
public AnimeInfoRepository(ITableClientFactory <AnimeInfoStorage> tableClientFactory) { _tableClient = tableClientFactory.GetCloudTable(); }
public ListComments(Authorization authorization, Mapper mapper, ITableClientFactory tableClientFactory) { _authorization = authorization ?? throw new ArgumentNullException(nameof(authorization)); _mapper = mapper; _tableClientFactory = tableClientFactory; }
public SubscriptionRepository(ITableClientFactory <SubscriptionStorage> tableClientFactory) => _tableClient = tableClientFactory.GetCloudTable();