示例#1
0
 public void SetGroupOn(GroupingDelegate gd, string descr)
 {
     if (gd == null)
     {
         throw new ArgumentNullException();
     }
     GroupOn = new DelegateGrouper(gd, descr);
 }
示例#2
0
 public DelegateGrouper(GroupingDelegate Delegate, string Name)
 {
     if (Delegate == null)
     {
         throw new ArgumentNullException();
     }
     this.Name = Name;
     if (Name == null)
     {
         this.Name = Delegate.ToString();
     }
     this.GroupingDelegate = Delegate;
 }
示例#3
0
 public void SetGroupOn(GroupingDelegate gd)
 {
     SetGroupOn(gd, null);
 }
示例#4
0
 public void SetGroupOn(GroupingDelegate gd)
 {
     CheckSource().SetGroupOn(gd);
 }