다음을 통해 공유


MigrationCodeGenerator.GetDefaultNamespaces(Boolean) 메서드

정의

생성된 코드에 대해 "using" 또는 "Imports" 지시문으로 출력되어야 하는 기본 네임스페이스를 가져옵니다.

protected virtual System.Collections.Generic.IEnumerable<string> GetDefaultNamespaces (bool designer = false);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
protected virtual System.Collections.Generic.IEnumerable<string> GetDefaultNamespaces (bool designer = false);
abstract member GetDefaultNamespaces : bool -> seq<string>
override this.GetDefaultNamespaces : bool -> seq<string>
Protected Overridable Function GetDefaultNamespaces (Optional designer As Boolean = false) As IEnumerable(Of String)

매개 변수

designer
Boolean

코드 숨김 파일에 대해 이 클래스가 생성되고 있는지 여부를 나타내는 값입니다.

반환

네임스페이스 이름의 순서가 지정된 목록입니다.

특성

적용 대상