Esempio n. 1
0
        /// <summary>
        /// Initializes static members of the <see cref="Notifier"/> class.
        /// </summary>
        static Notifier()
        {
            string product = Notifier.DetectNotifierProduct();

            if (!string.IsNullOrWhiteSpace(product))
            {
                Notifier.notifierName = $"{Notifier.notifierName} ({product})";
            }
            Notifier.notifierAssemblyVersion = Notifier.DetectNotifierAssemblyVersion();
        }
Esempio n. 2
0
 /// <summary>
 /// Initializes static members of the <see cref="Notifier"/> class.
 /// </summary>
 static Notifier()
 {
     Notifier.NotifierAssemblyVersion = Notifier.DetectNotifierAssemblyVersion();
 }