public SomeApiDomain(
     ISomeDomainA someDomainA,
     ISomeDomainB someDomainB, IMyHttpLogger myHttpLogger)
 {
     _someDomainA  = someDomainA;
     _someDomainB  = someDomainB;
     _myHttpLogger = myHttpLogger;
 }
        public SomeDomainB(IMyRequestScope requestScope, IMyHttpLogger myHttpLogger, ISomeDomainA someDomainA)
        {
            _someDomainA  = someDomainA;
            _requestScope = requestScope;
            _myHttpLogger = myHttpLogger;

            _myHttpLogger.LogMessage("Creating a new instance of SomeDomainB");
        }
 public MyRequestScope(IMyHttpLogger httpLogger, IHttpRequestContext httpRequestContext)
 {
     httpLogger.LogMessage("Creating a new instance of MyRequestScope");
     Id = httpRequestContext.Request.Headers["X-SomeKey"];
     httpLogger.LogMessage($"Setting: {Id}");
 }
 public SomeDomainA(IMyRequestScope myRequestScope, IMyHttpLogger myHttpLogger)
 {
     _myRequestScope = myRequestScope;
     _myHttpLogger   = myHttpLogger;
     _myHttpLogger.LogMessage("Creating a new instance of SomeDomainA");
 }