Example #1
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="components"></param>
 /// <param name="serviceProvider"></param>
 /// <param name="executionContext"></param>
 /// <param name="logger"></param>
 internal HandleJsCallWorker(JsExecutorComponents components, IServiceProvider serviceProvider, 
     JsExecutionContext executionContext, ILogger logger)
 {
     Components = components;
     ServiceProvider = serviceProvider;
     ExecutionContext = executionContext;
     Logger = logger;
     RemoteCaller = new RemoteJsCaller(Components.RemoteApiDocs, Components.HttpClient, ExecutionContext);
 }