-
-
Save justinyoo/f34fde0d62651b68be63e3922b271328 to your computer and use it in GitHub Desktop.
Make Your Azure WebJobs Testable Again
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Omitted some code lines for simplicity. | |
public class JobHostConfigurationBuilder : IJobHostConfigurationBuilder | |
{ | |
private JobHostConfiguration _config; | |
public JobHostConfigurationBuilder(IWebJobActivator activator) | |
{ | |
this._config = new JobHostConfiguration() { JobActivator = activator }; | |
} | |
public JobHostConfiguration Build() | |
{ | |
return this._config; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment