Exemplo n.º 1
0
 public override bool Match(List <string> key, Dictionary <string, object> attributes = null, Client.Interfaces.ISplitClient splitClient = null)
 {
     return(false);
 }
Exemplo n.º 2
0
 public override bool Match(bool key, Dictionary <string, object> attributes = null, Client.Interfaces.ISplitClient splitClient = null)
 {
     return(key.Equals(value));
 }
Exemplo n.º 3
0
        public override bool Match(string key, Dictionary <string, object> attributes = null, Client.Interfaces.ISplitClient splitClient = null)
        {
            bool boolValue;

            if (bool.TryParse(key, out boolValue))
            {
                return(Match(boolValue, attributes, splitClient));
            }
            else
            {
                return(false);
            }
        }
Exemplo n.º 4
0
 public override bool Match(Key key, Dictionary <string, object> attributes = null, Client.Interfaces.ISplitClient splitClient = null)
 {
     return(regex.IsMatch(key.matchingKey));
 }