C# Class CoffeeAuth.App

Provides application-specific behavior to supplement the default Application class.
Inheritance: Windows.UI.Xaml.Application
Mostra file Open project: ms-iot/coffee-auth

Public Properties

Property Type Description
arduino RemoteDevice
isArduinoConnected bool
rl Windows.ApplicationModel.Resources.ResourceLoader
usb UsbSerial

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

Usb_Reconnect ( ) : void

Protected Methods

Method Description
OnLaunched ( LaunchActivatedEventArgs e ) : void

Invoked when the application is launched normally by the end user. Other entry points will be used such as when the application is launched to open a specific file.

Private Methods

Method Description
OnNavigationFailed ( object sender, 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.

Usb_ConnectionEstablished ( ) : void
Usb_ConnectionFailed ( string message ) : void
Usb_ConnectionLost ( ) : 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

OnLaunched() protected method

Invoked when the application is launched normally by the end user. Other entry points will be used such as when the application is launched to open a specific file.
protected OnLaunched ( LaunchActivatedEventArgs e ) : void
e Windows.ApplicationModel.Activation.LaunchActivatedEventArgs Details about the launch request and process.
return void

Usb_Reconnect() public static method

public static Usb_Reconnect ( ) : void
return void

Property Details

arduino public_oe static_oe property

public static RemoteDevice arduino
return RemoteDevice

isArduinoConnected public_oe static_oe property

public static bool isArduinoConnected
return bool

rl public_oe static_oe property

public static ResourceLoader,Windows.ApplicationModel.Resources rl
return Windows.ApplicationModel.Resources.ResourceLoader

usb public_oe static_oe property

public static UsbSerial usb
return UsbSerial