public Update ( ACAT.Lib.Core.AbbreviationsManagement.Abbreviation abbreviation ) : bool | ||
abbreviation | ACAT.Lib.Core.AbbreviationsManagement.Abbreviation | Abbreviation to update |
return | bool |
public bool Update(Abbreviation abbreviation)
{
if (Exists(abbreviation.Mnemonic))
{
Remove(abbreviation.Mnemonic);
return Add(abbreviation);
}
return false;
}