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); }
public void Start(NodeConfig nodeConfig, PatternActionsRegistry <M, P> registry = null) => StartAsync(nodeConfig, registry).Wait();
protected abstract Task DoStartAsync(NodeConfig nodeConfig, PatternActionsRegistry <M, P> registry = null);