示例#1
0
 public FilesController(IWopiStorageProvider storageProvider, IWopiSecurityHandler securityHandler, IOptionsSnapshot <WopiHostOptions> wopiHostOptions, IAuthorizationService authorizationService, IDictionary <string, LockInfo> lockStorage, ICobaltProcessor cobaltProcessor = null) : base(storageProvider, securityHandler, wopiHostOptions)
 {
     _authorizationService = authorizationService;
     LockStorage           = lockStorage;
     CobaltProcessor       = cobaltProcessor;
 }
示例#2
0
 public FilesController(IWopiStorageProvider storageProvider, IWopiSecurityHandler securityHandler, IConfiguration configuration, IAuthorizationService authorizationService, IDictionary <string, LockInfo> lockStorage, ICobaltProcessor cobaltProcessor = null) : base(storageProvider, securityHandler, configuration)
 {
     _authorizationService = authorizationService;
     LockStorage           = lockStorage;
     CobaltProcessor       = cobaltProcessor;
 }