C# Class Microsoft.WindowsAzure.MobileServices.Test.App

Inheritance: System.Windows.Application
Datei anzeigen Open project: Azure/azure-mobile-apps-net-client

Public Properties

Property Type Description
LoginMobileService MobileServiceClient

Public Methods

Method Description
App ( ) : System

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().

App ( ) : Microsoft.WindowsAzure.MobileServices.TestFramework

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().

ReadFile ( string filePath ) : string

Protected Methods

Method Description
OnActivated ( IActivatedEventArgs args ) : void
OnLaunched ( LaunchActivatedEventArgs args ) : void

Setup the application and initialize the tests.

Private Methods

Method Description
App ( ) : System.Reflection

Initialize the test harness.

Application_Activated ( object sender, ActivatedEventArgs e ) : void
Application_Closing ( object sender, ClosingEventArgs e ) : void
Application_Deactivated ( object sender, DeactivatedEventArgs e ) : void
Application_Launching ( object sender, LaunchingEventArgs e ) : void
Application_Startup ( object sender, System.Windows.StartupEventArgs e ) : void
Application_UnhandledException ( object sender, System.Windows.ApplicationUnhandledExceptionEventArgs e ) : void
CheckForResetNavigation ( object sender, System.Windows.Navigation.NavigationEventArgs e ) : void
ClearBackStackAfterReset ( object sender, System.Windows.Navigation.NavigationEventArgs e ) : void
CompleteInitializePhoneApplication ( object sender, System.Windows.Navigation.NavigationEventArgs e ) : void
DownloadInputFromStorage ( string storageUrl, string storageSasToken, string inputFilePath ) : Microsoft.WindowsAzure.MobileServices.TestFramework.TestConfig
HardwareButtons_BackPressed ( object sender, BackPressedEventArgs e ) : void

Handles back button press. If app is at the root page of app, don't go back and the system will suspend the app.

InitializeLanguage ( ) : void
InitializePhoneApplication ( ) : void
OnNavigationFailed ( object sender, System.Windows.Navigation.NavigationFailedEventArgs e ) : void

Invoked when Navigation to a certain page fails

OnSuspending ( object sender, SuspendingEventArgs e ) : void

Invoked when application execution is being suspended. Application state is saved without knowing whether the application will be terminated or resumed with the contents of memory still intact.

RootFrame_NavigationFailed ( object sender, System.Windows.Navigation.NavigationFailedEventArgs e ) : void

Method Details

App() public method

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().
public App ( ) : System
return System

App() public method

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().
public App ( ) : Microsoft.WindowsAzure.MobileServices.TestFramework
return Microsoft.WindowsAzure.MobileServices.TestFramework

OnActivated() protected method

protected OnActivated ( IActivatedEventArgs args ) : void
args IActivatedEventArgs
return void

OnLaunched() protected method

Setup the application and initialize the tests.
protected OnLaunched ( LaunchActivatedEventArgs args ) : void
args LaunchActivatedEventArgs /// Details about the launch request and process. ///
return void

ReadFile() public method

public ReadFile ( string filePath ) : string
filePath string
return string

Property Details

LoginMobileService public_oe static_oe property

public static MobileServiceClient LoginMobileService
return MobileServiceClient