コード例 #1
0
        public SomeDomainB(IMyRequestScope requestScope, IMyHttpLogger myHttpLogger, ISomeDomainA someDomainA)
        {
            _someDomainA  = someDomainA;
            _requestScope = requestScope;
            _myHttpLogger = myHttpLogger;

            _myHttpLogger.LogMessage("Creating a new instance of SomeDomainB");
        }
コード例 #2
0
 public SomeDomainA(IMyRequestScope myRequestScope, IMyHttpLogger myHttpLogger)
 {
     _myRequestScope = myRequestScope;
     _myHttpLogger   = myHttpLogger;
     _myHttpLogger.LogMessage("Creating a new instance of SomeDomainA");
 }