Example #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);
     }
 }
Example #2
0
 /// <summary>
 /// Desinstala todos los contadores de la aplicaciĆ³n
 /// </summary>
 public static void UninstallAllApplicationCounters()
 {
     InstrumentationConfigurationManager.UninstallAllApplicationCounters();
 }
Example #3
0
 /// <summary>
 /// Type initialzer
 /// </summary>
 static InstrumentationProvider()
 {
     InstrumentationConfigurationManager.LoadConfiguration();
 }