public SplitFile(string header, SplitInfo[] runDefinition) { Header = header; RunDefinition = runDefinition; initialize(); }
public void CreateNewFile() { var emptySplit = new SplitInfo() { Name = "Unnamed Split", PersonalBestSplit = SplitTimeSpan.Unknown, SumOfBestSplit = SplitTimeSpan.Unknown }; CurrentFile = new SplitFile("Unnamed Run", Enumerable.Repeat(emptySplit, 1).ToArray()); }
public void ChangeRunDefinition(SplitInfo[] runDefinition) { RunDefinition = runDefinition; generateRunsFromDefinition(); }