public MailruStoreCollection(IHttpContext context, ILockingManager lockingManager, Folder directoryInfo, bool isWritable) { LockingManager = lockingManager; _context = context; _directoryInfo = directoryInfo; IsWritable = isWritable; }
public LocalStore(bool isWritable = true, ILockingManager lockingManager = null, Func <string, bool> isEnabledPropFunc = null) { LockingManager = lockingManager ?? new EmptyLockingManager(); //new InMemoryLockingManager(); IsWritable = isWritable; CollectionPropertyManager = new PropertyManager <LocalStoreCollection>(new LocalStoreCollectionProps <LocalStoreCollection>(isEnabledPropFunc).Props); ItemPropertyManager = new PropertyManager <LocalStoreItem>(new LocalStoreItemProps <LocalStoreItem>(isEnabledPropFunc).Props); }
public UnitOfWorkWritable(IResolveManager resolveManager, PtvDbContext dbContext, IUserIdentification userIdentification, ILogger <UnitOfWorkWritable> logger, ApplicationConfiguration applicationConfiguration, ILockingManager lockingManager, IRoleChecker roleChecker, ITranslationCloneCache translationCloneCache) : base(resolveManager, dbContext) { this.userIdentification = userIdentification; this.logger = logger; this.applicationConfiguration = applicationConfiguration; this.lockingManager = lockingManager; this.roleChecker = roleChecker; this.translationCloneCache = translationCloneCache; }
public DiskStore(string directory, bool isWritable = true, ILockingManager lockingManager = null) { if (directory == null) { throw new ArgumentNullException(nameof(directory)); } BaseDirectory = directory; LockingManager = lockingManager ?? new InMemoryLockingManager(); }
public ServiceUtilities( IUserIdentification userIdentification, ILockingManager lockingManager, IContextManager contextManager, IUserOrganizationService userOrganizationService, IVersioningManager versioningManager, IUserInfoService userInfoService, IUserOrganizationChecker userOrganizationChecker) { this.userIdentification = userIdentification; this.lockingManager = lockingManager; this.contextManager = contextManager; this.userOrganizationService = userOrganizationService; this.versioningManager = versioningManager; this.userInfoService = userInfoService; this.userOrganizationChecker = userOrganizationChecker; }
public LocalStoreItem(ILockingManager lockingManager, File fileInfo, bool isWritable) { LockingManager = lockingManager; _fileInfo = fileInfo; IsWritable = isWritable; }
public MailruStore(bool isWritable = true, ILockingManager lockingManager = null) { LockingManager = lockingManager ?? new InMemoryLockingManager(); IsWritable = isWritable; }
public DiskStoreCollection(ILockingManager lockingManager, DirectoryInfo directoryInfo, bool isWritable) { LockingManager = lockingManager; _directoryInfo = directoryInfo; IsWritable = isWritable; }
public MailruStoreItem(ILockingManager lockingManager, MailRuCloudApi.File fileInfo, bool isWritable) { LockingManager = lockingManager; _fileInfo = fileInfo; IsWritable = isWritable; }
public MailruStoreCollection(ILockingManager lockingManager, Folder directoryInfo, bool isWritable) { LockingManager = lockingManager; _directoryInfo = directoryInfo; IsWritable = isWritable; }