private InvokeCore ( System.Management.Automation.Runspaces.Pipeline pipeline, IEnumerable | ||
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);
}
}