Skip to content

Distinctlyminty/LightDi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LightDi

A simple light weight dependency injection container

container.RegisterTypeAs<SomeClass, ISomeInterface>();
container.RegisterInstanceAs<IAnotherInterface>(new SomeClassWithConstructor  Status = some value );
var someClass = container.Resolve<ISomeInterface>();  
var obj = container.Resolve<IAnotherInterface>();

About

A simple light weight dependency injection container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages