public SomeDomainB(IMyRequestScope requestScope, IMyHttpLogger myHttpLogger, ISomeDomainA someDomainA) { _someDomainA = someDomainA; _requestScope = requestScope; _myHttpLogger = myHttpLogger; _myHttpLogger.LogMessage("Creating a new instance of SomeDomainB"); }
public SomeDomainA(IMyRequestScope myRequestScope, IMyHttpLogger myHttpLogger) { _myRequestScope = myRequestScope; _myHttpLogger = myHttpLogger; _myHttpLogger.LogMessage("Creating a new instance of SomeDomainA"); }