Esempio n. 1
0
 /// <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));
 }
Esempio n. 2
0
 /// <summary>
 ///     Override to ProcessRecord and call ProcessRecordAsync
 /// </summary>
 protected sealed override void ProcessRecord()
 {
     AsyncPump.Run(async() => await ProcessRecordAsync().ConfigureAwait(false));
 }
Esempio n. 3
0
 /// <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));
 }