示例#1
0
        public Task <IHost> CreateHostAsync(IReadOnlyDictionary <string, string> settings, DebugMode debugMode = null)
        {
            var hostSettings = new SlaveHostSettings(settings);

            return(Task.FromResult <IHost>(new SlaveHost(hostSettings)));
        }
示例#2
0
 public SlaveHost(SlaveHostSettings settings)
 {
     _settings = settings;
 }