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

Dispose() public method

public Dispose ( ) : void
return void
        public void Dispose()
        {
            this.Dispose (true);
        }

Same methods

DesignContainer::Dispose ( bool disposing ) : void

Usage Example

Beispiel #1
0
        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;
            }
        }