Sdílet prostřednictvím


CommandLineBuilderExtensions.EnableDirectives Metoda

Definice

Umožňuje analyzátoru rozpoznat direktivy příkazového řádku.

public static System.CommandLine.Builder.CommandLineBuilder EnableDirectives (this System.CommandLine.Builder.CommandLineBuilder builder, bool value = true);
static member EnableDirectives : System.CommandLine.Builder.CommandLineBuilder * bool -> System.CommandLine.Builder.CommandLineBuilder
<Extension()>
Public Function EnableDirectives (builder As CommandLineBuilder, Optional value As Boolean = true) As CommandLineBuilder

Parametry

builder
CommandLineBuilder

Tvůrce příkazového řádku.

value
Boolean

Pokud je nastavená hodnota , truejsou povolené direktivy. V opačném případě se analyzují jako jakýkoli jiný token.

Návraty

Stejná instance .CommandLineBuilder

Platí pro

Viz také