Example #1
0
 /// <summary>Initializes a new instance of the <see cref="SortSpecificationsEventArgs{T}"/> class.</summary>
 /// <param name="eventValue">The value that must be passed to the event handler.</param>
 public SortSpecificationsEventArgs(SortSpecifications <T> eventValue)
     : base(eventValue)
 {
 }
Example #2
0
        /// <summary>Adds a new collection of sort specifications to the collection.</summary>
        /// <param name="sortSpecifications">The sort specifications that must be added.</param>
        internal void AddRange(SortSpecifications <T> sortSpecifications)
        {
            Guard.ArgumentIsNotNull(sortSpecifications, nameof(sortSpecifications), "The sort specifications are mandatory");

            this.sortingSpecifications.AddRange(sortSpecifications.sortingSpecifications);
        }