예제 #1
0
파일: WorkerRole.cs 프로젝트: mdomox/INFLO
 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();
     }
 }
예제 #2
0
 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();
     }
 }