Sto creando un host PowerShell / C # e voglio aggiungere il seguente commento
// This method cannot be called multiple times on a given pipeline. The state of the
// pipeline must be NotStarted when Invoke is called. When this method is called, it
// changes the state of the pipeline to Running.
// see http://msdn.microsoft.com/en-us/library/windows/desktop/ms569128(v=vs.85).aspx
if (pipeline.PipelineStateInfo.State == PipelineState.NotStarted)
{
Collection<PSObject> results = pipeline.Invoke();
}
Questo è un commento appropriato? Cosa miglioreresti a riguardo?