C# Class System.ComponentModel.Design.Tests.TestDesignerHost

Inheritance: IDesignerHost
Show file Open project: mikedn/runtime

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
DestroyComponent ( IComponent component ) : void
GetDesigner ( IComponent component ) : IDesigner
GetService ( Type serviceType ) : object
GetType ( string typeName ) : Type
RemoveService ( Type serviceType ) : void
RemoveService ( Type serviceType, bool promote ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

AddService() public method

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

AddService() public method

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

AddService() public method

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

AddService() public method

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

CreateComponent() public method

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

CreateComponent() public method

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

CreateTransaction() public method

public CreateTransaction ( ) : DesignerTransaction
return DesignerTransaction

CreateTransaction() public method

public CreateTransaction ( string description ) : DesignerTransaction
description string
return DesignerTransaction

DestroyComponent() public method

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

GetDesigner() public method

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

GetService() public method

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

GetType() public method

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

RemoveService() public method

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

RemoveService() public method

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