AspNetEdit.Editor.ComponentModel.DesignerHost.Dispose C# (CSharp) Method

Dispose() public method

public Dispose ( ) : void
return void
        public void Dispose()
        {
            if (!this.disposed) {
                //clean up the services we've registered
                parentServices.RemoveService (typeof (IComponentChangeService));
                parentServices.RemoveService (typeof (IDesignerHost));

                //and the container
                container.Dispose ();

                disposed = true;
            }
        }