示例#1
0
        public void Clear()
        {
            var range = new MultiRange {
                10, 11, 12, 23, 24, 25
            };

            range.Clear();

            Assert.Equal(0, range.Count);
            Assert.Equal(new Range[0], range.GetRanges());
        }
 private void UnselectAll()
 {
     selectedIndices.Clear();
 }