public LockingCacheManager(
     ICacheManager cacheManager,
     IDistributedLockManager lockManager)
 {
     _cacheManager = cacheManager;
     _lockManager  = lockManager;
 }
 public GraphImageService(
     IStorageProvider storageProvider,
     IDistributedLockManager lockManager,
     IGraphCacheService cacheService,
     IGraphEventMonitor graphEventMonitor)
 {
     _storageProvider = storageProvider;
     _lockManager = lockManager;
     _cacheService = cacheService;
     _graphEventMonitor = graphEventMonitor;
 }
 public TagGraphUpdater(
     IDistributedLockManager lockManager,
     IUpdateQueueManager updaterQueueManager,
     ITagGraphManager tagGraphManager,
     ITagService tagService,
     IAssociativyServices associativyServices,
     IContentManager contentManager)
 {
     _lockManager = lockManager;
     _updaterQueueManager = updaterQueueManager;
     _tagGraphManager = tagGraphManager;
     _tagService = tagService;
     _associativyServices = associativyServices;
     _contentManager = contentManager;
 }
Пример #4
0
#pragma warning disable CS0618 // Type or member is obsolete

    protected AdapterWithIdentity(IAuthorizationSessionClient sessionClient,
                                  IAuthorizationTokenClient tokenClient,
                                  IDistributedLockManager distributedLockManager,
                                  ISecretsStoreProvider secretsStoreProvider,
                                  IAzureSessionService azureSessionService,
                                  IGraphService graphService,
                                  IOrganizationRepository organizationRepository,
                                  IDeploymentScopeRepository deploymentScopeRepository,
                                  IProjectRepository projectRepository,
                                  IUserRepository userRepository) : base(sessionClient, tokenClient, distributedLockManager, secretsStoreProvider, azureSessionService, graphService, organizationRepository, deploymentScopeRepository, projectRepository, userRepository)
    {
        this.secretsStoreProvider   = secretsStoreProvider ?? throw new ArgumentNullException(nameof(secretsStoreProvider));
        this.azureSessionService    = azureSessionService ?? throw new ArgumentNullException(nameof(azureSessionService));
        this.graphService           = graphService ?? throw new ArgumentNullException(nameof(graphService));
        this.organizationRepository = organizationRepository ?? throw new ArgumentNullException(nameof(organizationRepository));
        this.projectRepository      = projectRepository ?? throw new ArgumentNullException(nameof(projectRepository));
    }