Ejemplo n.º 1
0
 public UserService(IHttpContextAccessor httpContextAccessor, IAzureDirectoryService azureDirectoryService, IMemoryCache cache, IUsersRepository usersRepository)
 {
     this.httpContextAccessor   = httpContextAccessor ?? throw new ArgumentNullException(nameof(httpContextAccessor));
     this.azureDirectoryService = azureDirectoryService ?? throw new ArgumentNullException(nameof(azureDirectoryService));
     this.cache           = cache ?? throw new ArgumentNullException(nameof(cache));
     this.usersRepository = usersRepository ?? throw new ArgumentNullException(nameof(usersRepository));
 }
 public ProjectIdentityDeleteActivity(IAzureDirectoryService azureDirectoryService, IAzureResourceService azureResourceService)
 {
     this.azureDirectoryService = azureDirectoryService ?? throw new ArgumentNullException(nameof(azureDirectoryService));
     this.azureResourceService  = azureResourceService ?? throw new ArgumentNullException(nameof(azureResourceService));
 }
Ejemplo n.º 3
0
 public ProjectIdentityCreateActivity(IAzureDirectoryService azureDirectoryService)
 {
     this.azureDirectoryService = azureDirectoryService ?? throw new ArgumentNullException(nameof(azureDirectoryService));
 }