다음을 통해 공유


CommandLineBuilderExtensions.EnableDirectives 메서드

정의

파서가 명령줄 지시문을 인식할 수 있도록 합니다.

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

매개 변수

builder
CommandLineBuilder

명령줄 작성기입니다.

value
Boolean

true설정하면 지시문이 사용하도록 설정됩니다. 그렇지 않으면 다른 토큰처럼 구문 분석됩니다.

반환

의 동일한 instanceCommandLineBuilder.

적용 대상

추가 정보