/// <summary> /// This method create the file that has the informations /// </summary> /// <param name="file"></param> private void CreateFile(ITypeFile file) { var dataset = file.GetFile(_listFlow); BinaryWriter bw = new BinaryWriter(File.Open(_file, FileMode.OpenOrCreate)); bw.Write(dataset); }
/// <summary> /// Starts the process of obtaining the data /// </summary> public void Run(ITypeFile file) { ExtractData(); CreateFile(file); }