Created
July 19, 2019 06:44
-
-
Save gethari/cc3c4b98ab0fb0de70470cbafe27cedd 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
public class MyClass | |
{ | |
private readonly IMapper _mapper; | |
private readonly ILog _logger; | |
public MyClass(IMapper mapper,ILog logger){ | |
_mapper = mapper; | |
_logger = logger; | |
} | |
public void DoSomething(){ | |
_mapper.Map(appSetting, applicationSetting); | |
_logger.Info("Executing DoSomething"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment