Creates a new Instance using specified parameters.

Namespace:  WebSupergoo.TaskGarden

Syntax

C#
public 
static 

Instance<TInterface> 
Create<TTarget>(
        

InstanceStartInfo 
info
)
where TTarget : 
new()
Visual Basic
Public 
Shared 
Function 
Create(
Of TTarget 
As 
New) ( _
        
info 
As 

InstanceStartInfo _
) 
As 
Instance(
Of TInterface)

Parameters

info
Type: WebSupergoo.TaskGarden . . :: . . InstanceStartInfo
Options used to start the worker process.

Type Parameters

TTarget
Target class implementing TInterface.

Return Value

A new Instance object.

See Also