Edit

Share via


StandaloneSiloHandle.CreateForAssembly(Assembly) Method

Definition

Creates a delegate which spawns a silo in a new process, with the provided assembly (or its executable counterpart, if it is a library) being the entry point for that silo.

public static Func<string,Microsoft.Extensions.Configuration.IConfiguration,System.Threading.Tasks.Task<Orleans.TestingHost.SiloHandle>> CreateForAssembly (System.Reflection.Assembly assembly);
static member CreateForAssembly : System.Reflection.Assembly -> Func<string, Microsoft.Extensions.Configuration.IConfiguration, System.Threading.Tasks.Task<Orleans.TestingHost.SiloHandle>>
Public Shared Function CreateForAssembly (assembly As Assembly) As Func(Of String, IConfiguration, Task(Of SiloHandle))

Parameters

assembly
Assembly

The entry point for spawned silos. If the provided assembly is a library (dll), then its executable sibling assembly will be invoked instead.

Returns

Applies to