public void SetGroupOn(GroupingDelegate gd, string descr) { if (gd == null) { throw new ArgumentNullException(); } GroupOn = new DelegateGrouper(gd, descr); }
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; }
public void SetGroupOn(GroupingDelegate gd) { SetGroupOn(gd, null); }
public void SetGroupOn(GroupingDelegate gd) { CheckSource().SetGroupOn(gd); }