Exemplo n.º 1
0
        public void AddValue(StringFeature feature, bool not, IEnumerable <string> values)
        {
            if (values == null)
            {
                throw new ArgumentNullException("values");
            }

            AddValue(feature, new StringFeatureValue(values, not));
        }
Exemplo n.º 2
0
        public StringFeatureValue GetValue(StringFeature feature)
        {
            StringFeatureValue value;

            if (TryGetValue(feature, out value))
            {
                return(value);
            }

            throw new ArgumentException("The specified value could not be found.", "feature");
        }
Exemplo n.º 3
0
 public void AddValue(StringFeature feature, bool not, params string[] values)
 {
     AddValue(feature, new StringFeatureValue(values, not));
 }
Exemplo n.º 4
0
 public void AddValue(StringFeature feature, params string[] values)
 {
     AddValue(feature, false, values);
 }
Exemplo n.º 5
0
 public void AddValue(StringFeature feature, bool not, IEnumerable <string> values)
 {
     AddValue(feature, new StringFeatureValue(values, not));
 }
Exemplo n.º 6
0
 public void AddValue(StringFeature feature, IEnumerable <string> values)
 {
     AddValue(feature, false, values);
 }