Add WireMock.Net.WebApplication example (#75)

This commit is contained in:
Stef Heyenrath
2018-01-11 19:38:58 +01:00
committed by GitHub
parent da798a59aa
commit 51bd9ec186
19 changed files with 369 additions and 82 deletions

View File

@@ -0,0 +1,22 @@
using Microsoft.Extensions.Logging;
namespace WireMock.Net.WebApplication
{
public class App
{
private readonly IWireMockService _service;
private readonly ILogger _logger;
public App(IWireMockService service, ILogger logger)
{
_service = service;
_logger = logger;
}
public void Run()
{
_logger.LogInformation("WireMock.Net App running");
_service.Run();
}
}
}