Esempio n. 1
0
        public void GameVersion_Test()
        {
            var gameVersion = ApplicationVersionHelper.GameVersion();

            Assert.NotNull(gameVersion);
            Assert.AreEqual(TestAppVersion, gameVersion);
        }
Esempio n. 2
0
 /// <summary>Gets the game version as an <see cref="ApplicationVersion" /> struct.</summary>
 /// <returns>
 /// <see cref="ApplicationVersion" /> struct representation of the game version
 /// if it was successfully  obtained and parsed; otherwise <see langword="null" />.
 /// </returns>
 public static ApplicationVersion?GameVersion() => ApplicationVersionHelper.GameVersion();