Table of Contents

Method ParseAndGetIsDarkOrNull

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ParseAndGetIsDarkOrNull()

Parses the command line arguments to determine the '-IsDark' option value. If the '-IsDark' argument is present and can be parsed as a boolean, its value is returned; otherwise, null is returned.

public static bool? ParseAndGetIsDarkOrNull()

Returns

bool?

The nullable boolean value of the '-IsDark' argument, or null if the argument is not present or cannot be parsed.