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