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