命名优化,达芬奇字体修改工具
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user