命名优化,达芬奇字体修改工具

This commit is contained in:
GG Z
2025-10-04 08:52:23 +08:00
parent 0d0afbc78e
commit 4722a4c881
121 changed files with 1801 additions and 1368 deletions

View File

@@ -16,28 +16,28 @@ public partial class ViewManagerViewModel : ObservableObject
{
[ObservableProperty]
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvView.ViewManagerViewModel.CopyAsDependentCommand))]
private bool canCopyAsDependent;
public partial bool CanCopyAsDependent { get; set; }
[ObservableProperty]
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvView.ViewManagerViewModel.CopyOnlyCommand))]
private bool canCopyOnly;
public partial bool CanCopyOnly { get; set; }
[ObservableProperty]
[NotifyCanExecuteChangedFor(nameof(RevitAddins.RvView.ViewManagerViewModel.CopyWithDetailCommand))]
private bool canCopyWidthDetail;
public partial bool CanCopyWidthDetail { get; set; }
[ObservableProperty]
ICollectionView filteredList;
public partial ICollectionView FilteredList { get; set; }
private readonly ActionEventHandler handler;
[ObservableProperty]
string searchText;
public partial string SearchText { get; set; }
private List<ViewManagerModel> selectedItems;
[ObservableProperty]
private List<View> viewTemplates;
public partial List<View> ViewTemplates { get; set; }
public ViewManagerViewModel(UIApplication uiapp)
{
@@ -272,7 +272,7 @@ public partial class ViewManagerViewModel : ObservableObject
{
var doc = uiapp.ActiveUIDocument.Document;
doc.Invoke(
__ =>
_ =>
{
foreach (var model in list)
{
@@ -323,7 +323,7 @@ public partial class ViewManagerViewModel : ObservableObject
{
return;
}
handler.Raise(uiapp =>
handler.Raise(_ =>
{
var list = items.Cast<ViewManagerModel>().ToList();
foreach (var model in list)