C# Class System.ComponentModel.NestedContainer

Inheritance: Container, INestedContainer, IContainer, IDisposable
Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
NestedContainer ( IComponent owner ) : System

Creates a new NestedContainer.

Protected Methods

Method Description
CreateSite ( IComponent component, string name ) : ISite

Creates a site for the component within the container.

Dispose ( bool disposing ) : void

Override of Container's dispose.

GetService ( Type service ) : object

[To be supplied.]

Private Methods

Method Description
OnOwnerDisposed ( object sender, EventArgs e ) : void

Called when our owning component is destroyed.

Method Details

CreateSite() protected method

Creates a site for the component within the container.
protected CreateSite ( IComponent component, string name ) : ISite
component IComponent
name string
return ISite

Dispose() protected method

Override of Container's dispose.
protected Dispose ( bool disposing ) : void
disposing bool
return void

GetService() protected method

[To be supplied.]

protected GetService ( Type service ) : object
service System.Type
return object

NestedContainer() public method

Creates a new NestedContainer.
public NestedContainer ( IComponent owner ) : System
owner IComponent
return System