/// <summary> /// This is called from the "Powershell Cmdlet" framework, calls the EndProcessingAsync /// </summary> protected sealed override void EndProcessing() { AsyncPump.Run(async() => await EndProcessingAsync().ConfigureAwait(false)); }
/// <summary> /// Override to ProcessRecord and call ProcessRecordAsync /// </summary> protected sealed override void ProcessRecord() { AsyncPump.Run(async() => await ProcessRecordAsync().ConfigureAwait(false)); }
/// <summary> /// This is called from the "Powershell Cmdlet" framework, calls the BeginProcessingAsync /// </summary> protected override void BeginProcessing() { base.BeginProcessing(); AsyncPump.Run(async() => await BeginProcessingAsync().ConfigureAwait(false)); }