Exemple #1
0
 public AsyncReplacer(IAsyncInvocationReplacer asyncInvocationReplacer, IInvocationConverter invocationConverter, IAwaitElider awaitElider, IAwaitEliderChecker awaitEliderChecker)
 {
     this.asyncInvocationReplacer = asyncInvocationReplacer;
     this.invocationConverter     = invocationConverter;
     this.awaitElider             = awaitElider;
     this.awaitEliderChecker      = awaitEliderChecker;
 }
 public InvocationConverter(
     IAsyncMethodFinder asyncMethodFinder,
     IAsyncInvocationReplacer asyncInvocationReplacer)
 {
     this.asyncMethodFinder       = asyncMethodFinder;
     this.asyncInvocationReplacer = asyncInvocationReplacer;
 }
 public InvocationConverter(
     IAsyncMethodFinder asyncMethodFinder,
     IAsyncInvocationReplacer asyncInvocationReplacer,
     ISyncWaitChecker syncWaitChecker,
     ISyncWaitConverter syncWaitConverter)
 {
     this.asyncMethodFinder       = asyncMethodFinder;
     this.asyncInvocationReplacer = asyncInvocationReplacer;
     this.syncWaitChecker         = syncWaitChecker;
     this.syncWaitConverter       = syncWaitConverter;
 }
Exemple #4
0
 public InvocationConverter(
     IAsyncMethodFinder asyncMethodFinder,
     IAsyncInvocationReplacer asyncInvocationReplacer,
     IAwaitEliderChecker awaitEliderChecker,
     IAwaitElider awaitElider)
 {
     this.asyncMethodFinder       = asyncMethodFinder;
     this.asyncInvocationReplacer = asyncInvocationReplacer;
     this.awaitEliderChecker      = awaitEliderChecker;
     this.awaitElider             = awaitElider;
 }