◆ Run()
static Task FiftyOne.DeviceDetection.Examples.Cloud.GettingStartedWeb.Program.Run | ( | string [] | args, |
CancellationToken | stopToken = default
|
||
) |
static
Used by unit tests to run the example in an almost identical manner to a developer using the example.
Returns the task that the web server is running in so that the test can trigger the cancellation token and then wait for the server to shutdown before finishing.
- Parameters
-
- args -
- stopToken -
- Returns