GetMobileServicesSdkVersion() public static méthode

public static GetMobileServicesSdkVersion ( Assembly executingAssembly ) : string
executingAssembly System.Reflection.Assembly
Résultat string
Exemple #1
0
 /// <summary>
 /// Initialize the test harness.
 /// </summary>
 static App()
 {
     Harness          = new TestHarness();
     Harness.Platform = string.Format("Win8 Store-C#|sdk v{0}|", TestPlatform.GetMobileServicesSdkVersion(typeof(App).GetTypeInfo().Assembly));
     Harness.LoadTestAssembly(typeof(FunctionalTestBase).GetTypeInfo().Assembly);
     Harness.LoadTestAssembly(typeof(LoginTests).GetTypeInfo().Assembly);
 }
Exemple #2
0
        /// <summary>
        /// Initializes the singleton application object.  This is the first line of authored code
        /// executed, and as such is the logical equivalent of main() or WinMain().
        /// </summary>
        public App()
        {
            this.InitializeComponent();
            this.Suspending             += OnSuspending;
            HardwareButtons.BackPressed += HardwareButtons_BackPressed;

            Harness          = new TestHarness();
            Harness.Platform = string.Format("Win Phone 8.1|sdk v{0}|", TestPlatform.GetMobileServicesSdkVersion(typeof(App).GetTypeInfo().Assembly));
            Harness.LoadTestAssembly(typeof(FunctionalTestBase).GetTypeInfo().Assembly);
        }