C# Класс AspNetEdit.Editor.ComponentModel.DesignerHost

Наследование: IDesignerHost, IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
OnActivated ( ) : void
OnDeactivated ( ) : void
OnLoadComplete ( ) : void
OnTransactionOpened ( ) : void
OnTransactionOpening ( ) : void

Приватные методы

Метод Описание
OnTransactionClosed ( bool commit, DesignerTransaction trans ) : void
OnTransactionClosing ( bool commit ) : void
SetRootComponent ( IComponent rootComponent ) : void

Описание методов

Activate() публичный Метод

public Activate ( ) : void
Результат void

AddService() публичный Метод

public AddService ( Type serviceType, ServiceCreatorCallback callback ) : void
serviceType System.Type
callback ServiceCreatorCallback
Результат void

AddService() публичный Метод

public AddService ( Type serviceType, ServiceCreatorCallback callback, bool promote ) : void
serviceType System.Type
callback ServiceCreatorCallback
promote bool
Результат void

AddService() публичный Метод

public AddService ( Type serviceType, object serviceInstance ) : void
serviceType System.Type
serviceInstance object
Результат void

AddService() публичный Метод

public AddService ( Type serviceType, object serviceInstance, bool promote ) : void
serviceType System.Type
serviceInstance object
promote bool
Результат void

CreateComponent() публичный Метод

public CreateComponent ( Type componentClass ) : IComponent
componentClass System.Type
Результат IComponent

CreateComponent() публичный Метод

public CreateComponent ( Type componentClass, string name ) : IComponent
componentClass System.Type
name string
Результат IComponent

CreateTransaction() публичный Метод

public CreateTransaction ( ) : DesignerTransaction
Результат System.ComponentModel.Design.DesignerTransaction

CreateTransaction() публичный Метод

public CreateTransaction ( string description ) : DesignerTransaction
description string
Результат System.ComponentModel.Design.DesignerTransaction

DesignerHost() публичный Метод

public DesignerHost ( ServiceContainer parentServices ) : System
parentServices System.ComponentModel.Design.ServiceContainer
Результат System

DestroyComponent() публичный Метод

public DestroyComponent ( IComponent component ) : void
component IComponent
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

GetDesigner() публичный Метод

public GetDesigner ( IComponent component ) : IDesigner
component IComponent
Результат IDesigner

GetService() публичный Метод

public GetService ( Type serviceType ) : object
serviceType System.Type
Результат object

GetType() публичный Метод

public GetType ( string typeName ) : Type
typeName string
Результат System.Type

Load() публичный Метод

public Load ( Stream file, string fileName ) : void
file Stream
fileName string
Результат void

NewFile() публичный Метод

public NewFile ( ) : void
Результат void

OnActivated() защищенный Метод

protected OnActivated ( ) : void
Результат void

OnDeactivated() защищенный Метод

protected OnDeactivated ( ) : void
Результат void

OnLoadComplete() защищенный Метод

protected OnLoadComplete ( ) : void
Результат void

OnTransactionOpened() защищенный Метод

protected OnTransactionOpened ( ) : void
Результат void

OnTransactionOpening() защищенный Метод

protected OnTransactionOpening ( ) : void
Результат void

RemoveService() публичный Метод

public RemoveService ( Type serviceType ) : void
serviceType System.Type
Результат void

RemoveService() публичный Метод

public RemoveService ( Type serviceType, bool promote ) : void
serviceType System.Type
promote bool
Результат void

Reset() публичный Метод

public Reset ( ) : void
Результат void

SaveDocument() публичный Метод

public SaveDocument ( Stream file ) : void
file Stream
Результат void