public BufferedDataStore(IFileDataStore data1, IFileDataStore data2 = null) { if (data1 is null) { throw new ArgumentNullException(nameof(data1)); } dataStore1 = data1; dataStore2 = data2; buffer = new Dictionary <string, string>(); }
/// <summary> /// Constructor using Direct file path data and store /// </summary> /// <param name="fileProperty"></param> /// <param name="store"></param> public COFFFileBrowser(IFileReaderProperty fileProperty, IFileDataStore store) { this.Property = fileProperty; this.Store = store; this.ReaderStrategy = FactoryFileReadStrategy.Instance(this.Property); }
/// <summary> /// Constructor with fil path and data store /// </summary> /// <param name="fullFilePath"></param> /// <param name="store"></param> public COFFFileBrowser(string fullFilePath, IFileDataStore store) : this(new FileReaderProperty(fullFilePath), store) { }