示例#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();
 }