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