Table of Contents

Constructor FieldSwitch

Namespace
DocWright.Dom.Fields
Assembly
DocWright.Dom.dll

FieldSwitch(string, string?, bool)

Initializes a switch.

public FieldSwitch(string name, string? argument, bool argumentWasQuoted)

Parameters

name string

The switch including its backslash, for example *.

argument string

The switch argument, or null when it takes none.

argumentWasQuoted bool

Whether the argument was written quoted.

Exceptions

ArgumentNullException

name is null.