Model.UIComponent.RemoveAll C# (CSharp) Method

RemoveAll() public method

public RemoveAll ( ) : void
return void
		public void RemoveAll()
		{
			foreach (UIType type in this.uis.Keys.ToArray())
			{
				UI ui;
				if (!this.uis.TryGetValue(type, out ui))
				{
					continue;
				}
				this.uis.Remove(type);
				ui.Dispose();
			}
		}