Example #1
0
 public bool IsMatch(ObservableMultiCard c)
 {
     if (!c.PropertySet().ContainsKey(Property))
     {
         return(false);
     }
     return(IsValueMatch(c.PropertySet()[Property]));
 }
Example #2
0
 private string GetCardPropertyValue(ObservableMultiCard card, PropertyDef def)
 {
     if (!card.PropertySet().ContainsKey(def))
     {
         return(null);
     }
     return(card.PropertySet()[def] as String);
 }