Def of DI: Instead creating an new object every time we call the container which will create the object of that class for us.
Injection or Imposing a Dependacy (called an object b or can be a Property, method also) on the De pendant class A through a container or IoC Framework is called DI.
Ref: http://www.dotnetspark.com/kb/266-inversion-control-ioc-and-dependency-injection.aspx
No comments:
Post a Comment