예제 #1
0
 /// <summary>
 /// Inicializa la configuración de los contadores
 /// </summary>
 public static void Initialize()
 {
     try
     {
         if (!isInitialized)
         {
             lock (sync)
             {
                 if (!isInitialized)
                 {
                     InstrumentationConfigurationManager.Initialize();
                     isInitialized = true;
                 }
             }
         }
     }
     catch (Exception ex)
     {
         throw new InstrumentationException(Messages.InstrumentationInitializationError, ex);
     }
 }
예제 #2
0
 /// <summary>
 /// Desinstala todos los contadores de la aplicación
 /// </summary>
 public static void UninstallAllApplicationCounters()
 {
     InstrumentationConfigurationManager.UninstallAllApplicationCounters();
 }
예제 #3
0
 /// <summary>
 /// Type initialzer
 /// </summary>
 static InstrumentationProvider()
 {
     InstrumentationConfigurationManager.LoadConfiguration();
 }