Mono.CSharp.TypeContainer.RemoveTypeContainer C# (CSharp) Method

RemoveTypeContainer() public method

public RemoveTypeContainer ( TypeContainer next_part ) : void
next_part TypeContainer
return void
		public virtual void RemoveTypeContainer (TypeContainer next_part)
		{
			if (types != null)
				types.Remove (next_part);
			RemoveMemberType (next_part);
		}
		

Usage Example

        public void ExecuteUndo()
        {
            if (undo_types == null)
            {
                return;
            }

            foreach (var p in undo_types)
            {
                TypeContainer current_container = p.Key;

                current_container.RemoveTypeContainer(p.Value);
            }
            undo_types = null;
        }
All Usage Examples Of Mono.CSharp.TypeContainer::RemoveTypeContainer