public static void BootstrapForTests( ISystemLog systemLog, IOfficeLocationDatabaseSettings officeLocationDatabaseSettings, ICountryWebApiSettings countryWebApiSettings, IEmailSettings emailSettings, IGroupNameConstants groupNameConstants) { BootstrapAll(systemLog, officeLocationDatabaseSettings, countryWebApiSettings, emailSettings, groupNameConstants); }
private static void BootstrapAll( ISystemLog logForNetSystemLog, IOfficeLocationDatabaseSettings officeLocationDatabaseSettings, ICountryWebApiSettings countryWebApiSettings, IEmailSettings emailSettings, IGroupNameConstants groupNameConstants) { var webServiceCaller = new WebApiServiceCaller(logForNetSystemLog); MasterFactory.OfficeDataTableGateway = new OfficeDataTableGateway(officeLocationDatabaseSettings, logForNetSystemLog); MasterFactory.CountryWebApiGateway = new CountryWebApiGateway(countryWebApiSettings, webServiceCaller); MasterFactory.EmailClient = new EmailClient(emailSettings); MasterFactory.GroupNameConstants = groupNameConstants; }
public static void BootstrapForSystem( string logName, IOfficeLocationDatabaseSettings officeLocationDatabaseSettings, ICountryWebApiSettings countryWebApiSettings, IEmailSettings emailSettings, IGroupNameConstants groupNameConstants) { LoggingBootstrapper.StartupLog(logName); var logForNetSystemLog = new LogForNetSystemLog(); BootstrapAll(logForNetSystemLog, officeLocationDatabaseSettings, countryWebApiSettings, emailSettings, groupNameConstants); }
public UserWrapper(IGroupNameConstants groupNameConstants) { GroupNameConstants = groupNameConstants; }