C# Class AspNetEdit.Editor.ComponentModel.DesignerHost

Inheritance: IDesignerHost, IDisposable
Datei anzeigen Open project: mono/aspeditor Class Usage Examples

Public Methods

Method 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

Protected Methods

Method Description
OnActivated ( ) : void
OnDeactivated ( ) : void
OnLoadComplete ( ) : void
OnTransactionOpened ( ) : void
OnTransactionOpening ( ) : void

Private Methods

Method Description
OnTransactionClosed ( bool commit, DesignerTransaction trans ) : void
OnTransactionClosing ( bool commit ) : void
SetRootComponent ( IComponent rootComponent ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

AddService() public method

public AddService ( Type serviceType, ServiceCreatorCallback callback ) : void
serviceType System.Type
callback ServiceCreatorCallback
return void

AddService() public method

public AddService ( Type serviceType, ServiceCreatorCallback callback, bool promote ) : void
serviceType System.Type
callback ServiceCreatorCallback
promote bool
return void

AddService() public method

public AddService ( Type serviceType, object serviceInstance ) : void
serviceType System.Type
serviceInstance object
return void

AddService() public method

public AddService ( Type serviceType, object serviceInstance, bool promote ) : void
serviceType System.Type
serviceInstance object
promote bool
return void

CreateComponent() public method

public CreateComponent ( Type componentClass ) : IComponent
componentClass System.Type
return IComponent

CreateComponent() public method

public CreateComponent ( Type componentClass, string name ) : IComponent
componentClass System.Type
name string
return IComponent

CreateTransaction() public method

public CreateTransaction ( ) : DesignerTransaction
return System.ComponentModel.Design.DesignerTransaction

CreateTransaction() public method

public CreateTransaction ( string description ) : DesignerTransaction
description string
return System.ComponentModel.Design.DesignerTransaction

DesignerHost() public method

public DesignerHost ( ServiceContainer parentServices ) : System
parentServices System.ComponentModel.Design.ServiceContainer
return System

DestroyComponent() public method

public DestroyComponent ( IComponent component ) : void
component IComponent
return void

Dispose() public method

public Dispose ( ) : void
return void

GetDesigner() public method

public GetDesigner ( IComponent component ) : IDesigner
component IComponent
return IDesigner

GetService() public method

public GetService ( Type serviceType ) : object
serviceType System.Type
return object

GetType() public method

public GetType ( string typeName ) : Type
typeName string
return System.Type

Load() public method

public Load ( Stream file, string fileName ) : void
file Stream
fileName string
return void

NewFile() public method

public NewFile ( ) : void
return void

OnActivated() protected method

protected OnActivated ( ) : void
return void

OnDeactivated() protected method

protected OnDeactivated ( ) : void
return void

OnLoadComplete() protected method

protected OnLoadComplete ( ) : void
return void

OnTransactionOpened() protected method

protected OnTransactionOpened ( ) : void
return void

OnTransactionOpening() protected method

protected OnTransactionOpening ( ) : void
return void

RemoveService() public method

public RemoveService ( Type serviceType ) : void
serviceType System.Type
return void

RemoveService() public method

public RemoveService ( Type serviceType, bool promote ) : void
serviceType System.Type
promote bool
return void

Reset() public method

public Reset ( ) : void
return void

SaveDocument() public method

public SaveDocument ( Stream file ) : void
file Stream
return void