public HomeController(IClassApplication classApplication, IClassSingleton classSingleton, IClassRequest classRequest, ILogger logger)
 {
     _classApplication = classApplication;
     _classSingleton   = classSingleton;
     _classRequest     = classRequest;
     _logger           = logger;
 }
Exemple #2
0
        public override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            _app = WebContainer.Get <IClassApplication>();
            _req = WebContainer.Get <IClassRequest>();

            _app.Increment();
            _req.Increment();
            _sing.Increment();
            _logger.Log("OnActionExecuting - App: {0}, Req: {1}, Sig: {2}\r\n", _app.Count, _req.Count, _sing.Count);
        }
 public HomeController(IClassApplication classApplication, IClassSingleton classSingleton, IClassRequest classRequest)
 {
     _classApplication = classApplication;
     _classSingleton   = classSingleton;
     _classRequest     = classRequest;
 }