public WebsocketsMiddleware(RequestDelegate next, ILogger <WebsocketsMiddleware> logger, NNetServer net) { _net = net; _next = next; _logger = logger; _logger.LogInformation(1112, "WebsocketsMiddleware constructor"); }
public HomeController(IStorage storage, ILogger <HomeController> logger, NNetServer net) { this.storage = storage; _logger = logger; _net = net; _logger.LogInformation(11, "Home constructor"); }