public TagExpirationTransaction(ITagsServiceStorage tagsServiceStorage, TagsStorage tagsStorage, JobStorageTransaction transaction) { _tagsStorage = tagsStorage ?? throw new ArgumentNullException(nameof(tagsStorage)); _transaction = transaction ?? throw new ArgumentNullException(nameof(transaction)); _serviceStorage = tagsServiceStorage; }
internal static void Register(JobStorage jobStorage, TagsOptions options, ITagsServiceStorage serviceStorage) { ServiceStorages[jobStorage ?? JobStorage.Current] = new Tuple <TagsOptions, ITagsServiceStorage>(options, serviceStorage); }
public static void Register(this JobStorage jobStorage, TagsOptions options, ITagsServiceStorage serviceStorage) { StorageRegistration.Register(jobStorage, options, serviceStorage); }