TagsGrooveControls.Model.TagTreeViewItemModelManager.RemoveFromDictonary C# (CSharp) Method

RemoveFromDictonary() protected method

protected RemoveFromDictonary ( TagModel tag ) : void
tag ModernizedAlice.ArtOfWords.BizCommon.Model.Tag.TagModel
return void
        protected override void RemoveFromDictonary(TagModel tag)
        {
            base.RemoveFromDictonary(tag as TagModel);

            if (_addedTags.Contains(tag))
            {
                _addedTags.Remove(tag as TagTreeViewItemModel);
            }
            else
            {
                _deletedTags.Add(tag as TagTreeViewItemModel);
            }
        }