Dreamine.MVVM.Generators 1.0.13
Dreamine.MVVM.Generators 프로젝트의 API와 구성 요소를 제공합니다.
로딩중...
검색중...
일치하는것 없음
Dreamine.MVVM.Generators.DreamineCommandSourceGenerator.CommandCandidateModel 클래스 참조sealed

생성 대상 메서드 메타데이터를 나타냅니다. 더 자세히 ...

Public 멤버 함수

 CommandCandidateModel (MethodDeclarationSyntax methodSyntax, IMethodSymbol methodSymbol, string? targetMethod, string? bindTo, string commandPropertyName, string? canExecuteMethod=null)
 CommandCandidateModel 클래스의 새 인스턴스를 초기화합니다.

속성

MethodDeclarationSyntax MethodSyntax [get]
 원본 메서드 구문을 가져옵니다.
IMethodSymbol MethodSymbol [get]
 원본 메서드 심볼을 가져옵니다.
string? TargetMethod [get]
 대상 메서드 경로를 가져옵니다.
string? BindTo [get]
 반환값을 대입할 프로퍼티 이름을 가져옵니다.
string CommandPropertyName [get]
 생성할 커맨드 프로퍼티 이름을 가져옵니다.
string? CanExecuteMethod [get]
 CanExecute 판단 메서드 이름을 가져옵니다.

상세한 설명

생성 대상 메서드 메타데이터를 나타냅니다.

DreamineCommandSourceGenerator.cs 파일의 595 번째 라인에서 정의되었습니다.

생성자 & 소멸자 문서화

◆ CommandCandidateModel()

Dreamine.MVVM.Generators.DreamineCommandSourceGenerator.CommandCandidateModel.CommandCandidateModel ( MethodDeclarationSyntax methodSyntax,
IMethodSymbol methodSymbol,
string? targetMethod,
string? bindTo,
string commandPropertyName,
string? canExecuteMethod = null )
inline

CommandCandidateModel 클래스의 새 인스턴스를 초기화합니다.

매개변수
methodSyntax원본 메서드 구문입니다.
methodSymbol원본 메서드 심볼입니다.
targetMethod대상 메서드 경로입니다.
bindTo반환값을 대입할 프로퍼티 이름입니다.
commandPropertyName생성할 커맨드 프로퍼티 이름입니다.
canExecuteMethod커맨드 실행 가능 여부를 확인할 메서드 이름입니다.

DreamineCommandSourceGenerator.cs 파일의 606 번째 라인에서 정의되었습니다.

613 {
614 MethodSyntax = methodSyntax;
615 MethodSymbol = methodSymbol;
616 TargetMethod = targetMethod;
617 BindTo = bindTo;
618 CommandPropertyName = commandPropertyName;
619 CanExecuteMethod = canExecuteMethod;
620 }

다음을 참조함 : BindTo, CanExecuteMethod, CommandPropertyName, MethodSymbol, MethodSyntax, TargetMethod.

속성 문서화

◆ BindTo

string? Dreamine.MVVM.Generators.DreamineCommandSourceGenerator.CommandCandidateModel.BindTo
get

반환값을 대입할 프로퍼티 이름을 가져옵니다.

DreamineCommandSourceGenerator.cs 파일의 640 번째 라인에서 정의되었습니다.

640{ get; }

다음에 의해서 참조됨 : Dreamine.MVVM.Generators.DreamineCommandSourceGenerator.BuildSource(), CommandCandidateModel().

◆ CanExecuteMethod

string? Dreamine.MVVM.Generators.DreamineCommandSourceGenerator.CommandCandidateModel.CanExecuteMethod
get

CanExecute 판단 메서드 이름을 가져옵니다.

DreamineCommandSourceGenerator.cs 파일의 650 번째 라인에서 정의되었습니다.

650{ get; }

다음에 의해서 참조됨 : Dreamine.MVVM.Generators.DreamineCommandSourceGenerator.BuildSource(), CommandCandidateModel(), Dreamine.MVVM.Generators.DreamineCommandSourceGenerator.ValidateCandidate().

◆ CommandPropertyName

string Dreamine.MVVM.Generators.DreamineCommandSourceGenerator.CommandCandidateModel.CommandPropertyName
get

생성할 커맨드 프로퍼티 이름을 가져옵니다.

DreamineCommandSourceGenerator.cs 파일의 645 번째 라인에서 정의되었습니다.

645{ get; }

다음에 의해서 참조됨 : Dreamine.MVVM.Generators.DreamineCommandSourceGenerator.BuildSource(), CommandCandidateModel(), Dreamine.MVVM.Generators.DreamineCommandSourceGenerator.ValidateCandidate().

◆ MethodSymbol

IMethodSymbol Dreamine.MVVM.Generators.DreamineCommandSourceGenerator.CommandCandidateModel.MethodSymbol
get

◆ MethodSyntax

MethodDeclarationSyntax Dreamine.MVVM.Generators.DreamineCommandSourceGenerator.CommandCandidateModel.MethodSyntax
get

원본 메서드 구문을 가져옵니다.

DreamineCommandSourceGenerator.cs 파일의 625 번째 라인에서 정의되었습니다.

625{ get; }

다음에 의해서 참조됨 : Dreamine.MVVM.Generators.DreamineCommandSourceGenerator.BuildSource(), CommandCandidateModel(), Dreamine.MVVM.Generators.DreamineCommandSourceGenerator.ValidateCandidate().

◆ TargetMethod

string? Dreamine.MVVM.Generators.DreamineCommandSourceGenerator.CommandCandidateModel.TargetMethod
get

대상 메서드 경로를 가져옵니다.

DreamineCommandSourceGenerator.cs 파일의 635 번째 라인에서 정의되었습니다.

635{ get; }

다음에 의해서 참조됨 : Dreamine.MVVM.Generators.DreamineCommandSourceGenerator.BuildSource(), CommandCandidateModel(), Dreamine.MVVM.Generators.DreamineCommandSourceGenerator.ValidateCandidate().


이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: