Exemplo n.º 1
0
 public async Task StartAsync(NodeConfig nodeConfig, PatternActionsRegistry <M, P> registry = null)
 {
     if (nodeConfig.AssemblyLocations != null && nodeConfig.AssemblyLocations.Any())
     {
         InstallAssemblyResolver(nodeConfig.AssemblyLocations.Distinct());
     }
     await DoStartAsync(nodeConfig, registry);
 }
Exemplo n.º 2
0
 public void Start(NodeConfig nodeConfig, PatternActionsRegistry <M, P> registry = null)
 => StartAsync(nodeConfig, registry).Wait();
Exemplo n.º 3
0
 protected abstract Task DoStartAsync(NodeConfig nodeConfig, PatternActionsRegistry <M, P> registry = null);