NuGetConsole.Host.PowerShell.Implementation.RunspaceDispatcher.InvokeCore C# (CSharp) Method

InvokeCore() private method

private InvokeCore ( System.Management.Automation.Runspaces.Pipeline pipeline, IEnumerable inputs ) : Collection
pipeline System.Management.Automation.Runspaces.Pipeline
inputs IEnumerable
return Collection
        private Collection<PSObject> InvokeCore(Pipeline pipeline, IEnumerable<object> inputs)
        {
            lock (_dispatcherLock)
            {
                return inputs == null ? pipeline.Invoke() : pipeline.Invoke(inputs);
            }
        }