title: Difference between Interface Injection and Method Injection
body: <p>I have just started learning about Dependency Injection (DI) and its types in C#. I noticed that in almost all articles, the first two types of injection mechanisms mentioned are same, i.e., <em>Constructor Injection</em> and <em>Property/Setter Injection</em>. </p>
  
  <p>But the third one is different in many articles - Some authors have mentioned "<strong>Interface-based Injection</strong>" as the third mechanism and some have mentioned "<strong>Method Injection</strong>". I may be wrong in my understanding of the same and they both could be the same thing, but just for my clarification, would like to know if there are any specific differences between the two of them?</p>
  
  <p>Thanks in advance.</p>
  
  <p>References: <a href="http://www.dotnettricks.com/learn/dependencyinjection/implementation-of-dependency-injection-pattern-in-csharp" rel="nofollow noreferrer">http://www.dotnettricks.com/learn/dependencyinjection/implementation-of-dependency-injection-pattern-in-csharp</a></p>
  
  <p><a href="http://www.c-sharpcorner.com/UploadFile/ff2f08/dependency-injection-pattern/" rel="nofollow noreferrer">http://www.c-sharpcorner.com/UploadFile/ff2f08/dependency-injection-pattern/</a></p>