Example #1
0
 public bool Matches(BasicToken template)
 {
     if (!string.IsNullOrEmpty(template.Value) && Value != template.Value)
     {
         return(false);
     }
     return(Type == template.Type);
 }
Example #2
0
 public bool Matches(BasicToken template)
 {
     if (!string.IsNullOrEmpty(template.Value) && Value != template.Value)
         return false;
     return Type == template.Type;
 }