Geowigo.Models.CartridgeTag.RemoveSavegame C# (CSharp) Method

RemoveSavegame() public method

Removes a savegame's contents from the isolated storage and removes it from this tag.
public RemoveSavegame ( CartridgeSavegame cs ) : void
cs CartridgeSavegame
return void
        public void RemoveSavegame(CartridgeSavegame cs)
        {
            // Removes the savegame.
            _savegames.Remove(cs);

            // Makes sure the savegame is cleared from cache.
            cs.RemoveFromIsoStore();

            // Notifies of a change.
            RaisePropertyChanged("Savegames");
        }