Esempio n. 1
0
        public async Task Update(InitializationParameters parameters)
        {
            var service = await TryGetOrCreateRemoteServiceAsync().ConfigureAwait(false);

            if (service == null)
            {
                throw new InvalidOperationException("Unable to create host process");
            }
            await service.Initialize(new InitializationMessage { Parameters = parameters }).ConfigureAwait(false);
        }
Esempio n. 2
0
 public ExecutionHost(InitializationParameters initializationParameters)
 {
     _initializationParameters = initializationParameters;
 }