|
Dreamine.MVVM.Attributes 1.0.7
Dreamine.MVVM.Attributes 프로젝트의 API와 구성 요소를 제공합니다.
|
ViewModel 필드를 Model 프로퍼티에 위임되는 프로퍼티로 생성하도록 지정하는 특성입니다. 더 자세히 ...


Public 멤버 함수 | |
| DreamineModelPropertyAttribute () | |
| Model 프로퍼티 이름을 명시하지 않고 DreamineModelPropertyAttribute 클래스의 새 인스턴스를 초기화합니다. | |
| DreamineModelPropertyAttribute (string modelPropertyName) | |
| 지정한 Model 프로퍼티 이름으로 DreamineModelPropertyAttribute 클래스의 새 인스턴스를 초기화합니다. | |
속성 | |
| string? | ModelPropertyName [get] |
| 연결할 Model 프로퍼티 이름을 가져옵니다. | |
ViewModel 필드를 Model 프로퍼티에 위임되는 프로퍼티로 생성하도록 지정하는 특성입니다.
이 특성이 필드에 적용되면 소스 생성기는 해당 필드를 기반으로 Model의 멤버에 접근하는 프로퍼티를 생성할 수 있습니다.
ModelPropertyName을 지정하지 않으면 필드명을 기준으로 기본 명명 규칙이 적용됩니다.
DreamineModelPropertyAttribute.cs 파일의 30 번째 라인에서 정의되었습니다.
|
inline |
Model 프로퍼티 이름을 명시하지 않고 DreamineModelPropertyAttribute 클래스의 새 인스턴스를 초기화합니다.
DreamineModelPropertyAttribute.cs 파일의 59 번째 라인에서 정의되었습니다.
|
inline |
지정한 Model 프로퍼티 이름으로 DreamineModelPropertyAttribute 클래스의 새 인스턴스를 초기화합니다.
| modelPropertyName | 연결할 Model 프로퍼티 이름입니다. |
| ArgumentNullException | modelPropertyName 가 null인 경우 발생합니다. |
DreamineModelPropertyAttribute.cs 파일의 88 번째 라인에서 정의되었습니다.
다음을 참조함 : ModelPropertyName.
|
get |
연결할 Model 프로퍼티 이름을 가져옵니다.
값을 지정하지 않으면 필드명을 기반으로 자동 결정됩니다.
DreamineModelPropertyAttribute.cs 파일의 48 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : DreamineModelPropertyAttribute().