Skip to main content

Timeline for Understanding interface injection

Current License: CC BY-SA 4.0

10 events
when toggle format what by license comment
Mar 5, 2019 at 8:48 comment added Laiv From Wikipedia -the dependency's interface provides an injector method that will inject the dependency into any client passed to it.- This might help to clarify Doc's understanding of "dependency" here. If "dependency" was a single class, it could not provide us with an interface and an injector at the same time without breaking a handful of good design principles. It led me to think in dependency as "a whole" or, being more accurate, as a component or library. Indeed, Wikipedia's use for "dependency" is somewhat vague or imprecise.
Mar 5, 2019 at 8:36 history edited Doc Brown CC BY-SA 4.0
grammar fixed
Jan 31, 2019 at 17:05 comment added Doc Brown @IstiaqueAhmed: can you please give us a hint first where you precisely have problems to follow what I already wrote?
Jan 31, 2019 at 14:40 comment added Istiaque Ahmed can you give the example in code to explain what you said ?
Jan 30, 2019 at 10:57 history edited Doc Brown CC BY-SA 4.0
added 201 characters in body
Jan 30, 2019 at 9:45 history edited Doc Brown CC BY-SA 4.0
added 58 characters in body
Jan 30, 2019 at 7:27 comment added Doc Brown @IstiaqueAhmed: you are welcome
Jan 30, 2019 at 7:26 history edited Doc Brown CC BY-SA 4.0
added 653 characters in body
Jan 30, 2019 at 7:11 comment added Istiaque Ahmed can you provide at least some level of pseudo code to understand the answer ?
Jan 30, 2019 at 6:54 history answered Doc Brown CC BY-SA 4.0