RichardPlus
1 天前
多敲俩字母不费事,但能省事儿。找了一个我写的类
[ObservableProperty] private string _Title = string.Empty;
[ObservableProperty] private bool _HasChanged;
[ObservableProperty] private bool _Completed;
[ObservableProperty] private bool _CanMeasure;
[ObservableProperty] private bool _CanSave;
[ObservableProperty] private bool _CanRefresh;
[ObservableProperty] private bool _IsPaged;
[ObservableProperty] private bool _HasNextPage;
[ObservableProperty] private bool _HasPrevPage;
[ObservableProperty] private bool _HasTextFilter;
[ObservableProperty] private string _Keyword = string.Empty;