Class MeadowOS
The entry point of the .NET part of Meadow OS.
Assembly: Meadow.dll
View Source
Declaration
public static class MeadowOS
Properties
StartupTick
The value of the processor clock register when Main
was entered
View Source
Declaration
public static int StartupTick { get; set; }
Fields
AppAbort
The cancellation CancellationTokenSource used to signal the application to shut down
View Source
Declaration
public static CancellationTokenSource AppAbort
Methods
Main(string[])
The entry point for Meadow applications
View Source
Declaration
public static Task Main(string[] args)
Returns
System.Threading.Tasks.Task
Parameters
Type | Name | Description |
---|---|---|
System.String[] | args | Command line arguments |
Start(string[]?)
Initializes and starts up the Meadow Core software stack
View Source
Declaration
public static Task Start(string[]? args)
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
System.String[] | args |
Start(IApp, string[]?)
Initializes and starts up the Meadow Core software stack
View Source
Declaration
public static Task Start(IApp app, string[]? args = null)
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
Meadow.IApp | app |
System.String[] | args |
TerminateRun()
Cancel the meadow OS application Run call and allow the process to exit
View Source
Declaration
public static void TerminateRun()