예제 #1
0
 /// <summary>
 /// Sets our group to a new instance of a
 /// CollectionViewGroupRoot being passed in
 /// and resets the index.
 /// </summary>
 /// <param name="group">CollectionViewGroupRoot used to compare on</param>
 internal void ResetGroup(CollectionViewGroupRoot group)
 {
     _group = group;
     _index = 0;
 }
예제 #2
0
 /// <summary>
 /// Constructor for the CollectionViewGroupComparer that takes
 /// in an CollectionViewGroupRoot.
 /// </summary>
 /// <param name="group">CollectionViewGroupRoot used to compare on</param>
 internal CollectionViewGroupComparer(CollectionViewGroupRoot group)
 {
     ResetGroup(group);
 }