コード例 #1
0
 public bool Is(string itemname, ConditionEntry.MatchType mt)        // one condition, of this type
 {
     return(Fields.Count == 1 && Fields[0].ItemName == itemname && Fields[0].MatchCondition == mt);
 }
コード例 #2
0
ファイル: Condition.cs プロジェクト: iainross/BaseUtilities
 public bool Is(string itemname, ConditionEntry.MatchType mt)        // one condition, of this type
 {
     return(fields.Count == 1 && fields[0].itemname == itemname && fields[0].matchtype == mt);
 }