C# Class AspNetEdit.Editor.ComponentModel.DesignerHost

Inheritance: IDesignerHost, IDisposable
Afficher le fichier Open project: mono/aspeditor Class Usage Examples

Méthodes publiques

Méthode Description
Activate ( ) : void
AddService ( Type serviceType, ServiceCreatorCallback callback ) : void
AddService ( Type serviceType, ServiceCreatorCallback callback, bool promote ) : void
AddService ( Type serviceType, object serviceInstance ) : void
AddService ( Type serviceType, object serviceInstance, bool promote ) : void
CreateComponent ( Type componentClass ) : IComponent
CreateComponent ( Type componentClass, string name ) : IComponent
CreateTransaction ( ) : DesignerTransaction
CreateTransaction ( string description ) : DesignerTransaction
DesignerHost ( ServiceContainer parentServices ) : System
DestroyComponent ( IComponent component ) : void
Dispose ( ) : void
GetDesigner ( IComponent component ) : IDesigner
GetService ( Type serviceType ) : object
GetType ( string typeName ) : Type
Load ( Stream file, string fileName ) : void
NewFile ( ) : void
RemoveService ( Type serviceType ) : void
RemoveService ( Type serviceType, bool promote ) : void
Reset ( ) : void
SaveDocument ( Stream file ) : void

Méthodes protégées

Méthode Description
OnActivated ( ) : void
OnDeactivated ( ) : void
OnLoadComplete ( ) : void
OnTransactionOpened ( ) : void
OnTransactionOpening ( ) : void

Private Methods

Méthode Description
OnTransactionClosed ( bool commit, DesignerTransaction trans ) : void
OnTransactionClosing ( bool commit ) : void
SetRootComponent ( IComponent rootComponent ) : void

Method Details

Activate() public méthode

public Activate ( ) : void
Résultat void

AddService() public méthode

public AddService ( Type serviceType, ServiceCreatorCallback callback ) : void
serviceType System.Type
callback ServiceCreatorCallback
Résultat void

AddService() public méthode

public AddService ( Type serviceType, ServiceCreatorCallback callback, bool promote ) : void
serviceType System.Type
callback ServiceCreatorCallback
promote bool
Résultat void

AddService() public méthode

public AddService ( Type serviceType, object serviceInstance ) : void
serviceType System.Type
serviceInstance object
Résultat void

AddService() public méthode

public AddService ( Type serviceType, object serviceInstance, bool promote ) : void
serviceType System.Type
serviceInstance object
promote bool
Résultat void

CreateComponent() public méthode

public CreateComponent ( Type componentClass ) : IComponent
componentClass System.Type
Résultat IComponent

CreateComponent() public méthode

public CreateComponent ( Type componentClass, string name ) : IComponent
componentClass System.Type
name string
Résultat IComponent

CreateTransaction() public méthode

public CreateTransaction ( ) : DesignerTransaction
Résultat System.ComponentModel.Design.DesignerTransaction

CreateTransaction() public méthode

public CreateTransaction ( string description ) : DesignerTransaction
description string
Résultat System.ComponentModel.Design.DesignerTransaction

DesignerHost() public méthode

public DesignerHost ( ServiceContainer parentServices ) : System
parentServices System.ComponentModel.Design.ServiceContainer
Résultat System

DestroyComponent() public méthode

public DestroyComponent ( IComponent component ) : void
component IComponent
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetDesigner() public méthode

public GetDesigner ( IComponent component ) : IDesigner
component IComponent
Résultat IDesigner

GetService() public méthode

public GetService ( Type serviceType ) : object
serviceType System.Type
Résultat object

GetType() public méthode

public GetType ( string typeName ) : Type
typeName string
Résultat System.Type

Load() public méthode

public Load ( Stream file, string fileName ) : void
file Stream
fileName string
Résultat void

NewFile() public méthode

public NewFile ( ) : void
Résultat void

OnActivated() protected méthode

protected OnActivated ( ) : void
Résultat void

OnDeactivated() protected méthode

protected OnDeactivated ( ) : void
Résultat void

OnLoadComplete() protected méthode

protected OnLoadComplete ( ) : void
Résultat void

OnTransactionOpened() protected méthode

protected OnTransactionOpened ( ) : void
Résultat void

OnTransactionOpening() protected méthode

protected OnTransactionOpening ( ) : void
Résultat void

RemoveService() public méthode

public RemoveService ( Type serviceType ) : void
serviceType System.Type
Résultat void

RemoveService() public méthode

public RemoveService ( Type serviceType, bool promote ) : void
serviceType System.Type
promote bool
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

SaveDocument() public méthode

public SaveDocument ( Stream file ) : void
file Stream
Résultat void