public SerializationBlobStorageDataStore( string cloudRootPath, bool useDataCache, bool useBlobListCache, bool useBigFilesLazyLoad, string connectionString, string containerName, ITreeRootFactory rootFactory, ISerializationFormatter formatter) { Assert.ArgumentNotNullOrEmpty(cloudRootPath, nameof(cloudRootPath)); Assert.ArgumentNotNull(formatter, nameof(formatter)); Assert.ArgumentNotNull(rootFactory, nameof(rootFactory)); this._connectionString = connectionString; this._containerName = containerName; this._useDataCache = useDataCache; this._useBlobListCache = useBlobListCache; this._useBigFilesLazyLoad = useBigFilesLazyLoad; this._rootFactory = rootFactory; this._formatter = formatter; this._formatter.ParentDataStore = this; // ReSharper disable once DoNotCallOverridableMethodsInConstructor this.CloudRootPath = this.InitializeRootPath(cloudRootPath); // ReSharper disable once DoNotCallOverridableMethodsInConstructor this.Trees = this.InitializeTrees(this._formatter, useDataCache, useBlobListCache, useBigFilesLazyLoad); }
public SerializationFileSystemDataStore(string physicalRootPath, bool useDataCache, ITreeRootFactory rootFactory, ISerializationFormatter formatter) { Assert.ArgumentNotNullOrEmpty(physicalRootPath, nameof(physicalRootPath)); Assert.ArgumentNotNull(formatter, nameof(formatter)); Assert.ArgumentNotNull(rootFactory, nameof(rootFactory)); _useDataCache = useDataCache; _rootFactory = rootFactory; _formatter = formatter; _formatter.ParentDataStore = this; // ReSharper disable once DoNotCallOverridableMethodsInConstructor PhysicalRootPath = InitializeRootPath(physicalRootPath); // ReSharper disable once DoNotCallOverridableMethodsInConstructor Trees = InitializeTrees(_formatter, useDataCache); }
public SerializationFileSystemDataStore(string physicalRootPath, bool useDataCache, ITreeRootFactory rootFactory, ISerializationFormatter formatter) { Assert.ArgumentNotNullOrEmpty(physicalRootPath, "rootPath"); Assert.ArgumentNotNull(formatter, "formatter"); Assert.ArgumentNotNull(rootFactory, "rootFactory"); _useDataCache = useDataCache; _rootFactory = rootFactory; _formatter = formatter; _formatter.ParentDataStore = this; // ReSharper disable once DoNotCallOverridableMethodsInConstructor PhysicalRootPath = InitializeRootPath(physicalRootPath); // ReSharper disable once DoNotCallOverridableMethodsInConstructor Trees = InitializeTrees(_formatter, useDataCache); }
public TfsSerializationFileSystemDataStore(string physicalRootPath, bool useDataCache, ITreeRootFactory rootFactory, ISerializationFormatter formatter) : base(physicalRootPath, useDataCache, rootFactory, formatter) { _sourceControlManager = new SourceControlManager(); }
public DilithiumSerializationFileSystemDataStore(string physicalRootPath, bool useDataCache, ITreeRootFactory rootFactory, ISerializationFormatter formatter) : base(physicalRootPath, useDataCache, rootFactory, formatter) { }