예제 #1
0
 /// <summary>
 ///     Perform Cmdlet post-processing.
 /// </summary>
 protected sealed override void EndProcessing()
 {
     ThreadAffinitiveSynchronizationContext.RunSynchronized(
         () => EndProcessingAsync()
         );
 }
예제 #2
0
 /// <summary>
 ///     Perform Cmdlet processing.
 /// </summary>
 protected sealed override void ProcessRecord()
 {
     ThreadAffinitiveSynchronizationContext.RunSynchronized(
         () => ProcessRecordAsync()
         );
 }