示例#1
0
 public UserGroupService(IUnityContainer container,
                         ISaphirCloudBoxDataContextManager dataContextManager,
                         IUserService userService)
     : base(container, dataContextManager)
 {
     _userService = userService ?? throw new ArgumentNullException(nameof(userService));
 }
 public RoleService(IUnityContainer container,
                    ISaphirCloudBoxDataContextManager dataContextManager,
                    RoleManager <Role> roleManager,
                    SaphirUserManager userManager) : base(container, dataContextManager)
 {
     _roleManager = roleManager ?? throw new ArgumentNullException(nameof(roleManager));
     _userManager = userManager ?? throw new ArgumentNullException(nameof(userManager));
 }
示例#3
0
 public FileStorageService(IUnityContainer container,
                           ISaphirCloudBoxDataContextManager dataContextManager,
                           BlobSettings blobSettings,
                           AzureBlobClient azureBlobClient,
                           IPermissionHelper permissionHelper,
                           IUserService userService)
     : base(container, dataContextManager)
 {
     _userService      = userService ?? throw new ArgumentNullException(nameof(userService));
     _blobSettings     = blobSettings ?? throw new ArgumentNullException(nameof(blobSettings));
     _azureBlobClient  = azureBlobClient ?? throw new ArgumentNullException(nameof(azureBlobClient));
     _permissionHelper = permissionHelper ?? throw new ArgumentNullException(nameof(permissionHelper));
 }
 public LogService(IUnityContainer container, ISaphirCloudBoxDataContextManager dataContextManager) : base(container, dataContextManager)
 {
 }
示例#5
0
 public FileStorageHierarchyService(IUnityContainer container,
                                    ISaphirCloudBoxDataContextManager dataContextManager) : base(container, dataContextManager)
 {
 }