/// <summary> /// Handle host call received /// </summary> /// <param name="sender">sender of this event, unused.</param> /// <param name="eventArgs">arguments describing the host call to invoke.</param> private void HandleHostCallReceived(object sender, RemoteDataEventArgs <RemoteHostCall> eventArgs) { ClientMethodExecutor.Dispatch( _powershell.RemotePowerShell.DataStructureHandler.TransportManager, ((RemoteRunspace)_runspace).RunspacePool.RemoteRunspacePoolInternal.Host, _errorStream, MethodExecutorStream, IsMethodExecutorStreamEnabled, ((RemoteRunspace)_runspace).RunspacePool.RemoteRunspacePoolInternal, _powershell.InstanceId, eventArgs.Data); }
private void HandleHostCallReceived(object sender, RemoteDataEventArgs <RemoteHostCall> eventArgs) { ClientMethodExecutor.Dispatch(this._runspacePool.RemoteRunspacePoolInternal.DataStructureHandler.TransportManager, this._runspacePool.RemoteRunspacePoolInternal.Host, null, null, false, this._runspacePool.RemoteRunspacePoolInternal, Guid.Empty, eventArgs.Data); }