예제 #1
0
        public SplitFile(string header, SplitInfo[] runDefinition)
        {
            Header = header;
            RunDefinition = runDefinition;

            initialize();
        }
예제 #2
0
        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());
        }
예제 #3
0
 public void ChangeRunDefinition(SplitInfo[] runDefinition)
 {
     RunDefinition = runDefinition;
     generateRunsFromDefinition();
 }