/// <summary>
 /// Creates an instance of this object.
 /// </summary>
 /// <param name="enabled">Enabled</param>
 /// <param name="type">Exclusion type</param>
 /// <param name="value">Exclusion value</param>
 /// <param name="option">Exclusion option</param>
 /// <param name="ignoreCase">true/false to ignore case</param>
 /// <history>
 /// [Curtis_Beard]	   03/07/2012	ADD: 3131609, exclusions
 /// </history>
 public ExclusionItem(bool enabled, ExclusionTypes type, string value, OptionsTypes option, bool ignoreCase)
 {
     Enabled    = enabled;
     Type       = type;
     Value      = value;
     Option     = option;
     IgnoreCase = ignoreCase;
 }
示例#2
0
 /// <summary>
 /// Creates an instance of this object.
 /// </summary>
 /// <param name="enabled">Enabled</param>
 /// <param name="type">Exclusion type</param>
 /// <param name="value">Exclusion value</param>
 /// <param name="option">Exclusion option</param>
 /// <param name="ignoreCase">true/false to ignore case</param>
 /// <history>
 /// [Curtis_Beard]	   03/07/2012	ADD: 3131609, exclusions
 /// </history>
 public ExclusionItem(bool enabled, ExclusionTypes type, string value, OptionsTypes option, bool ignoreCase)
 {
     Enabled = enabled;
      Type = type;
      Value = value;
      Option = option;
      IgnoreCase = ignoreCase;
 }
示例#3
0
        public AspectBuilder Exclude(params Type[] types)
        {
            foreach (var type in types)
            {
                ExclusionTypes.Add(type);
            }

            return(this);
        }