Exemplo n.º 1
0
 /// <summary>
 /// Constructor - can be used for testing
 /// </summary>
 /// <param name="umbracoSettings"></param>
 /// <param name="baseRestSettings"></param>
 /// <param name="dashboardSettings"></param>
 /// <param name="healthChecks"></param>
 public UmbracoConfig(IUmbracoSettingsSection umbracoSettings, IBaseRestSection baseRestSettings, IDashboardSection dashboardSettings, IHealthChecks healthChecks)
 {
     SetHealthCheckSettings(healthChecks);
     SetUmbracoSettings(umbracoSettings);
     SetBaseRestExtensions(baseRestSettings);
     SetDashboardSettings(dashboardSettings);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor - can be used for testing
 /// </summary>
 /// <param name="umbracoSettings"></param>
 /// <param name="baseRestSettings"></param>
 /// <param name="dashboardSettings"></param>
 public UmbracoConfig(IUmbracoSettingsSection umbracoSettings, IBaseRestSection baseRestSettings, IDashboardSection dashboardSettings)
 {
     SetUmbracoSettings(umbracoSettings);
     SetBaseRestExtensions(baseRestSettings);
     SetDashboardSettings(dashboardSettings);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Only for testing
 /// </summary>
 /// <param name="value"></param>
 public void SetBaseRestExtensions(IBaseRestSection value)
 {
     _baseRestExtensions = value;
 }
Exemplo n.º 4
0
 //ONLY for unit testing
 public void SetBaseRestExtensions(IBaseRestSection value)
 {
     _baseRestExtensions = value;
 }