Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public void Add(ISpaceTemplateFactory space)
 {
     Items.Add(space);
     SpacesFile.Serialize(Items.Where(s => s is SpaceTemplateBitmap == false).ToList());
 }