Created
June 10, 2020 15:55
-
-
Save NeelBhatt/b906fc894888a5ed199a7a0ea543ded4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private readonly ISingletonOperation _singletonOperation; | |
private readonly IScopedOperation _scopedOperation; | |
private readonly ITransientOperation _transientOperation; | |
private readonly IMyService _myService; | |
private readonly ILogger<HomeController> _logger; | |
public HomeController | |
( | |
ILogger<HomeController> logger, | |
ISingletonOperation singletonOperation, | |
ITransientOperation transientOperation, | |
IScopedOperation scopedOperation, | |
IMyService myService | |
) | |
{ | |
_singletonOperation = singletonOperation; | |
_transientOperation = transientOperation; | |
_scopedOperation = scopedOperation; | |
_myService = myService; | |
_logger = logger; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment