Exemplo n.º 1
0
        //method injection
        // List<ILoggerService> loggerService
        public void Request(ICreditManager creditManager, ILoggerService loggerService)
        {
            creditManager.Calculation();
            loggerService.Logging();

            /* foreach (var loggerService in loggerServices)
             * {
             *  loggerService.Logging();
             * }
             */
        }