Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created January 19, 2017 06:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinyoo/784ca6dc1683382be542f9da3fee601e to your computer and use it in GitHub Desktop.
Save justinyoo/784ca6dc1683382be542f9da3fee601e to your computer and use it in GitHub Desktop.
Testing Precompiled Azure Functions
public class MyServiceLocator
{
public MyServiceLocator()
{
this.Dependency = new MyDependency() { SomeValue = "Hello World" };
}
public IDependency Dependency { get; set; }
}
public class MyDependency : IDependency
{
public string SomeValue { get; set; }
}
public interface IDependency
{
string SomeValue { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment