public RegulationFileParamDumpReader(FileInfo path) { var regulation = RegulationFile.Load(path); Params = regulation.Files .Where(f => f.Name.EndsWith(".param")) .ToDictionary(file => Path.GetFileNameWithoutExtension(file.Name), file => PARAM.Read(file.Bytes)); }
public RegulationFileParamDumpWriter(FileInfo path) { RegulationPath = path; Regulation = RegulationFile.Load(path); }