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
void Main() | |
{ | |
var container = new DependencyContainer(); | |
container.AddTransient<HelloService>(); | |
container.AddTransient<ServiceConsumer>(); | |
container.AddSingleton<MessageService>(); | |
var resolver = new DependencyResolver(container); | |
var service = resolver.GetService<HelloService>(); |
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
[user] | |
name = [SeuNome] | |
email = [SeuEmail] | |
[core] | |
editor = code -n -w | |
[alias] | |
last_changed = code $(git diff-tree --no-commit-id --name-only -r HEAD) | |
alias = !git config --get-regexp ^alias\. | sed -e s/^alias\.// -e s/\ /\ =\ / | |
fetchall = fetch --all --prune | |
lognice = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -10 |