public void AddCat(ICopyCat <T> cat) { if (cat == null) { throw new ArgumentNullException("Cats of a CopyCatHandler set by AddCat() cannot be null."); } if (!HasCat(cat)) { _CopyCats.Add(cat); } }
public bool HasCat(ICopyCat <T> cat) { return(_CopyCats.Contains(cat)); }
public void RemoveCat(ICopyCat <T> cat) { _CopyCats.Remove(cat); }