|
Dreamine.MVVM.Generators 1.0.13
Dreamine.MVVM.Generators 프로젝트의 API와 구성 요소를 제공합니다.
|
DreamineEntryAttribute가 적용된 WPF 엔트리 클래스를 분석하고 Dreamine 부트스트랩 코드를 생성하는 증분 생성기입니다.
더 자세히 ...


Public 멤버 함수 | |
| void | Initialize (IncrementalGeneratorInitializationContext context) |
| 증분 생성기 파이프라인을 초기화합니다. | |
정적 Private 멤버 함수 | |
| static bool | IsCandidateSyntax (SyntaxNode node) |
| 엔트리 후보가 될 수 있는 구문인지 확인합니다. | |
| static ? EntryCandidateModel | TryCreateCandidate (GeneratorSyntaxContext context, INamedTypeSymbol? entryAttributeSymbol, INamedTypeSymbol? applicationSymbol) |
| 구문/시맨틱 정보를 기반으로 엔트리 후보 모델을 생성합니다. | |
| static void | Emit (SourceProductionContext context, ImmutableArray< EntryCandidateModel > candidates) |
| 수집된 엔트리 후보를 진단하고 소스를 생성합니다. | |
| static bool | IsPartial (ClassDeclarationSyntax classDeclaration) |
| 클래스 선언이 partial인지 확인합니다. | |
| static bool | InheritsFrom (INamedTypeSymbol symbol, INamedTypeSymbol baseTypeSymbol) |
| 대상 클래스가 지정한 기반 타입을 상속하는지 확인합니다. | |
| static string | BuildEntrySource (string namespaceName, string className) |
| 엔트리 부트스트랩 소스 코드를 생성합니다. | |
정적 Private 속성 | |
| const string | EntryAttributeMetadataName = "Dreamine.MVVM.Attributes.DreamineEntryAttribute" |
| const string | WpfApplicationMetadataName = "System.Windows.Application" |
| static readonly DiagnosticDescriptor | EntryMustBePartialDescriptor |
| static readonly DiagnosticDescriptor | EntryMustInheritApplicationDescriptor |
| static readonly DiagnosticDescriptor | DuplicateEntryDescriptor |
DreamineEntryAttribute가 적용된 WPF 엔트리 클래스를 분석하고 Dreamine 부트스트랩 코드를 생성하는 증분 생성기입니다.
DreamineEntryGenerator.cs 파일의 15 번째 라인에서 정의되었습니다.
|
inlinestaticprivate |
엔트리 부트스트랩 소스 코드를 생성합니다.
| namespaceName | 대상 네임스페이스입니다. |
| className | 대상 클래스 이름입니다. |
DreamineEntryGenerator.cs 파일의 243 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Emit().

|
inlinestaticprivate |
수집된 엔트리 후보를 진단하고 소스를 생성합니다.
| context | 소스 출력 컨텍스트입니다. |
| candidates | 수집된 엔트리 후보 목록입니다. |
DreamineEntryGenerator.cs 파일의 146 번째 라인에서 정의되었습니다.
다음을 참조함 : BuildEntrySource(), DuplicateEntryDescriptor, EntryMustBePartialDescriptor, EntryMustInheritApplicationDescriptor.
다음에 의해서 참조됨 : Initialize().


|
inlinestaticprivate |
대상 클래스가 지정한 기반 타입을 상속하는지 확인합니다.
| symbol | 검사할 클래스 심볼입니다. |
| baseTypeSymbol | 기준 기반 타입 심볼입니다. |
true이고, 아니면 false입니다.DreamineEntryGenerator.cs 파일의 220 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : TryCreateCandidate().

|
inline |
증분 생성기 파이프라인을 초기화합니다.
| context | 생성기 초기화 컨텍스트입니다. |
DreamineEntryGenerator.cs 파일의 48 번째 라인에서 정의되었습니다.
다음을 참조함 : Emit(), EntryAttributeMetadataName, IsCandidateSyntax(), TryCreateCandidate(), WpfApplicationMetadataName.

|
inlinestaticprivate |
엔트리 후보가 될 수 있는 구문인지 확인합니다.
| node | 검사할 구문 노드입니다. |
true이고, 아니면 false입니다.DreamineEntryGenerator.cs 파일의 83 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Initialize().

|
inlinestaticprivate |
클래스 선언이 partial인지 확인합니다.
| classDeclaration | 검사할 클래스 선언입니다. |
true이고, 아니면 false입니다.DreamineEntryGenerator.cs 파일의 209 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : TryCreateCandidate().

|
inlinestaticprivate |
구문/시맨틱 정보를 기반으로 엔트리 후보 모델을 생성합니다.
| context | 구문 분석 컨텍스트입니다. |
| entryAttributeSymbol | DreamineEntryAttribute 심볼입니다. |
| applicationSymbol | WPF Application 심볼입니다. |
null을 반환합니다. DreamineEntryGenerator.cs 파일의 99 번째 라인에서 정의되었습니다.
다음을 참조함 : InheritsFrom(), IsPartial().
다음에 의해서 참조됨 : Initialize().


|
staticprivate |
DreamineEntryGenerator.cs 파일의 36 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Emit().
|
staticprivate |
DreamineEntryGenerator.cs 파일의 17 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Initialize().
|
staticprivate |
DreamineEntryGenerator.cs 파일의 20 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Emit().
|
staticprivate |
DreamineEntryGenerator.cs 파일의 28 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Emit().
|
staticprivate |
DreamineEntryGenerator.cs 파일의 18 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Initialize().