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;
 }
Beispiel #3
0
 public InvocationConverter(
     IAsyncMethodFinder asyncMethodFinder,
     IAsyncInvocationReplacer asyncInvocationReplacer,
     IAwaitEliderChecker awaitEliderChecker,
     IAwaitElider awaitElider)
 {
     this.asyncMethodFinder       = asyncMethodFinder;
     this.asyncInvocationReplacer = asyncInvocationReplacer;
     this.awaitEliderChecker      = awaitEliderChecker;
     this.awaitElider             = awaitElider;
 }
Beispiel #4
0
 public CanBeUseAsyncMethodAnalyzer(IAsyncMethodFinder asyncMethodFinder)
 {
     this.asyncMethodFinder = asyncMethodFinder;
 }
Beispiel #5
0
 public HaveAsyncMethodChecker(IAsyncMethodFinder asyncMethodFinder)
 {
     this.asyncMethodFinder = asyncMethodFinder;
 }