public DataStorageBase(
     StorageSectionDetails sectionDetails,
     FilesIoOptions filesIoOptions)
 {
     SectionDetails = sectionDetails ?? throw new ArgumentNullException();
     FilesIoOptions = filesIoOptions ?? throw new ArgumentNullException();
 }
Exemplo n.º 2
0
 public ProcessedDataFilesStorage(
     StorageSectionDetails sectionDetails,
     FilesIoOptions filesIoOptions,
     ProcessedDataFileChunkOptions processedDataFileChunkOptions)
     : base(sectionDetails, filesIoOptions)
 {
     ProcessedDataFileChunkOptions = processedDataFileChunkOptions;
 }
 public DataFilesStorage(
     StorageSectionDetails sectionDetails,
     FilesIoOptions filesIoOptions,
     DataFileChunkOptions dataFileChunkOptions)
     : base(sectionDetails, filesIoOptions)
 {
     DataFileChunkOptions = dataFileChunkOptions;
 }
        public XmlDataFilesStorage(
            IDataFilesStorage dataFilesStorage,
            IOptions <XmlDataFileNodeNames> xmlDataFileNodeNames,
            IOptions <XmlDataFileSchemaInfo> xmlDataFileSchemaInfo,
            IOptions <FilesIoOptions> ioOptions)
        {
            if (dataFilesStorage == null || xmlDataFileNodeNames.Value == null ||
                xmlDataFileSchemaInfo.Value == null || ioOptions.Value == null)
            {
                throw new ArgumentNullException();
            }

            DataFilesStorage      = dataFilesStorage;
            XmlDataFileNodeNames  = xmlDataFileNodeNames.Value;
            XmlDataFileSchemaInfo = xmlDataFileSchemaInfo.Value;
            FilesIoOptions        = ioOptions.Value;
        }
Exemplo n.º 5
0
 public TextFilesStorage(
     StorageSectionDetails sectionDetails,
     FilesIoOptions filesIoOptions)
     : base(sectionDetails, filesIoOptions)
 {
 }