/// <summary> /// Removes the sideBoardConverterMapping from the SideBoard list of mappings. /// </summary> /// <param name="sideBoardConverterMapping">The ConverterMapping to remove</param> /// <returns>True if mapping was successfully removed, False if not removed</returns> public bool RemoveSideBoardConverterMapping(ConverterMapping sideBoardConverterMapping) { return this._SideBoard.Remove(sideBoardConverterMapping); }
/// <summary> /// Removes the mainDeckConverterMapping from the MainDeck list of mappings. /// </summary> /// <param name="mainDeckConverterMapping">The ConverterMapping to remove</param> /// <returns>True if mapping was successfully removed, False if not removed</returns> public bool RemoveMainDeckConverterMapping(ConverterMapping mainDeckConverterMapping) { return this._MainDeck.Remove(mainDeckConverterMapping); }
/// <summary> /// Adds the mainDeckConverterMapping from the MainDeck list of mappings. /// </summary> /// <param name="mainDeckConverterMapping">The ConverterMapping to add</param> /// <returns>True if mapping was successfully added, False if not added</returns> public bool AddMainDeckConverterMapping(ConverterMapping mainDeckConverterMapping) { if (!this._MainDeck.Contains(mainDeckConverterMapping)) { this._MainDeck.Add(mainDeckConverterMapping); return true; } else { return false; } }
/// <summary> /// Adds the sideBoardConverterMapping from the MainDeck list of mappings. /// </summary> /// <param name="sideBoardConverterMapping">The ConverterMapping to add</param> /// <returns>True if mapping was successfully added, False if not added</returns> public bool AddSideBoardConverterMapping(ConverterMapping sideBoardConverterMapping) { if (!this._SideBoard.Contains(sideBoardConverterMapping)) { this._SideBoard.Add(sideBoardConverterMapping); return true; } else { return false; } }
/// <summary> /// Initializes a new instance of the InlineDialogPage_ChooseAnotherCardVM class. /// </summary> /// <param name="converterMapping">The Converter Mapping which contains the parsed card name to match to</param> public InlineDialogPage_ChooseAnotherCardVM(ConverterMapping converterMapping) { this.ConverterMapping = converterMapping; }