ServiceBaseApplication CmdArgs Property NFX Class Library

[This is preliminary documentation and is subject to change.]

References command line arguments configuration, so one can use it as:
if (Servicepplication.CmdArgs["DeleteFiles"].Exists)
{
  // this will run if process was invoked like so: process.exe /deleteFiles
}

Namespace: NFX.ApplicationModel
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public static IConfigSectionNode CmdArgs { get; }

Property Value

Type: IConfigSectionNode
See Also