public bool Remove(ISpaceTemplateFactory space) { bool removed = space != null && Items.Remove(space); if (removed) { SpacesFile.Serialize(Items.Where(s => s is SpaceTemplateBitmap == false).ToList()); } return(removed); }
public void Add(ISpaceTemplateFactory space) { Items.Add(space); SpacesFile.Serialize(Items.Where(s => s is SpaceTemplateBitmap == false).ToList()); }