title: DI outside the constructor
body: <p>Can we request dependencies on the fly in .NET Core? Something like:</p>
  
  <pre><code>public void MyMethod() {
      var dep = DependencyMagic.Instantiate&lt;MyDependency&gt;();
  }
  </code></pre>
  
  <p>I'm not interested in a 3rd party solution, but feel free to comment on them if it completes your answer. I'm just using the DI built into .NET Core. I can't use <a href="https://msdn.microsoft.com/en-us/library/system.activator(v=vs.110).aspx" rel="nofollow noreferrer" title="Activator Class"><code>Activator</code></a> because I don't know what the signature of the dependency's constructor will be.</p>