C# Class System.ComponentModel.NestedContainer

Inheritance: Container, INestedContainer, IContainer, IDisposable
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
NestedContainer ( IComponent owner ) : System

Creates a new NestedContainer.

Méthodes protégées

Méthode 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

Méthode Description
OnOwnerDisposed ( object sender, EventArgs e ) : void

Called when our owning component is destroyed.

Method Details

CreateSite() protected méthode

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

Dispose() protected méthode

Override of Container's dispose.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetService() protected méthode

[To be supplied.]

protected GetService ( Type service ) : object
service System.Type
Résultat object

NestedContainer() public méthode

Creates a new NestedContainer.
public NestedContainer ( IComponent owner ) : System
owner IComponent
Résultat System