StandaloneSiloHandle.CreateForAssembly(Assembly) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.