CommandLineBuilderExtensions.EnableDirectives 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
파서가 명령줄 지시문을 인식할 수 있도록 합니다.
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.
적용 대상
추가 정보
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET