public void AddToCheckQuestMethod(CheckQuestMethodsPair methodsPair) { if (!checkQuestMethodList.Contains(methodsPair)) { checkQuestMethodList.Add(methodsPair); } }
public bool Contains(CheckQuestMethodsPair methodsPair) { return(CheckQuestMethods.Exists(pair => pair.TallyMethod.Equals(methodsPair.TallyMethod) || pair.TargetMessageMethod.Equals(methodsPair.TargetMessageMethod))); }
public void Add(CheckQuestMethodsPair pair) { CheckQuestMethods.Add(pair); }