Beispiel #1
0
        /// <summary>Allow to declaratively show what records must be included or excluded</summary>
        /// <param name="condition">The condition used to include or exclude each record</param>
        /// <param name="selector">The selector for the condition.</param>
        public ConditionalRecordAttribute(RecordCondition condition, string selector)
        {
            ExHelper.CheckNullOrEmpty(selector, "selector");

            mCondition         = condition;
            mConditionSelector = selector;
        }
 /// <summary>Allow to declaratively show what records must be included or excluded</summary>
 /// <param name="condition">The condition used to include or exclude each record <see cref="RecordCondition"/>conditions</param>
 /// <param name="conditionSelector">The selector (match string) for the condition.</param>
 public ConditionalRecordAttribute(RecordCondition condition, string conditionSelector)
 {
     Condition         = condition;
     ConditionSelector = conditionSelector;
     ExHelper.CheckNullOrEmpty(conditionSelector, "conditionSelector");
 }