/// <summary> /// Initializes a new instance of the <see cref="GroupCriterion"/> class. /// </summary> /// <param name="groupCriterion">The group criterion.</param> public GroupCriterion(GroupCriterion groupCriterion) { m_OriginalPropertyName = groupCriterion.OriginalPropertyName; Initialize(groupCriterion.Type, groupCriterion.PropertyInfo); }
/// <summary> /// Adds the group. /// </summary> /// <param name="type">The type.</param> /// <param name="propertyName">Name of the property.</param> public void AddGroup(Type type, string propertyName) { GroupCriterion groupCriterion = new GroupCriterion(type, propertyName); m_GroupCriteriaList.Add(groupCriterion); }