void RoleEnvironment_Changed(object sender, Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironmentChangedEventArgs e) { if (e.Changes.OfType <Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironmentConfigurationSettingChange>().Count() > 0) { BsmTimeTableLogger.Enabled = IsStatisticalLoggingEnabled(); BsmTimeTableLogger.MinimalLoggedElapsedTime = GetMinimalLoggedElapsedTime(); } }
static void RoleEnvironment_Changed(object sender, Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironmentChangedEventArgs e) { if (e.Changes.OfType <Microsoft.WindowsAzure.ServiceRuntime.RoleEnvironmentConfigurationSettingChange>().Count() > 0) { AlertSearchRadius = GetAlertSearchDistance(); QWarnAheadDistance = GetQWarnAheadDistance(); } }