コード例 #1
0
ファイル: GroupCriterion.cs プロジェクト: Oshchenkov/moss
 /// <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);
 }
コード例 #2
0
        /// <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);
        }