Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add non-generic Register(Type, Type, Lifetime) #614

Merged
merged 1 commit into from
Jan 13, 2024

Conversation

hadashiA
Copy link
Owner

Frankly speaking, two arguments are more modern than .As() method chain..

e.g)

builder.RegisteInstance(LoggerFactory.Create(logging => logging.AddConsole()));
buidler.Register(typeof(ILogger), typeof(Logger), Lifetiem.Singleton);

Copy link

vercel bot commented Jan 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
vcontainer ✅ Ready (Inspect) Visit Preview Jan 13, 2024 9:15am

@hadashiA hadashiA merged commit f562df6 into master Jan 13, 2024
12 checks passed
@hadashiA hadashiA deleted the hadashiA/add-non-generic-register branch January 13, 2024 09:16
@hadashiA hadashiA restored the hadashiA/add-non-generic-register branch January 16, 2024 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant