public RulesetFactsFlowAccumulator(IBusinessModelSettings businessModelSettings)
 {
     _commandFactory = new RulesetFactsCommandFactory(businessModelSettings);
 }
 public RulesetDtoDeserializer(IBusinessModelSettings businessModelSettings)
 {
     _targetBusinessModelAlias = Convert2SourceCode(businessModelSettings.BusinessModel);
 }
 public RulesetFactsBulkCommandFactory(IBusinessModelSettings businessModelSettings)
 {
     _deserializer    = new RulesetDtoDeserializer(businessModelSettings);
     AppropriateFlows = new[] { RulesetFactsFlow.Instance };
 }
 private static ITracer CreateTracer(IEnvironmentSettings environmentSettings, IBusinessModelSettings businessModelSettings)
 {
     return(Log4NetTracerBuilder.Use
            .ApplicationXmlConfig
            .Console
            .WithGlobalProperties(x =>
                                  x.Property(TracerContextKeys.Tenant, environmentSettings.EnvironmentName)
                                  .Property(TracerContextKeys.EntryPoint, environmentSettings.EntryPointName)
                                  .Property(TracerContextKeys.EntryPointHost, NetworkInfo.ComputerFQDN)
                                  .Property(TracerContextKeys.EntryPointInstanceId, Guid.NewGuid().ToString())
                                  .Property(nameof(IBusinessModelSettings.BusinessModel), businessModelSettings.BusinessModel))
            .Build);
 }
 public RulesetFactsCommandFactory(IBusinessModelSettings businessModelSettings)
 {
     _deserializer = new RulesetDtoDeserializer(businessModelSettings);
 }