Skip to content

Instantly share code, notes, and snippets.

@bayological
Created September 28, 2018 01:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bayological/0fb2fb170113ee45050b493a5bcbd0ba to your computer and use it in GitHub Desktop.
Save bayological/0fb2fb170113ee45050b493a5bcbd0ba to your computer and use it in GitHub Desktop.
Registering types manually without Scrutor
services.AddTransient<ICow, Cow>();
services.AddTransient<IMouse, Mouse>();
services.AddTransient<ICat, Cat>();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment