Skip to content

StandaloneSiloHandle.CreateForAssembly(Assembly)

CreateForAssembly(Assembly)

static
View source
public static Func<string, IConfiguration, Task<SiloHandle>> CreateForAssembly(Assembly assembly)
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.

Parameters

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