清理多余引用

This commit is contained in:
2026-02-24 11:34:18 +08:00
parent 4961914919
commit 0ba966cef2
163 changed files with 279 additions and 840 deletions

View File

@@ -8,10 +8,6 @@ using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using Nice3point.Revit.Toolkit.External.Handlers;
using ShrlAlgoToolkit.RevitAddins.RvCommon;
using ShrlAlgoToolkit;
using ShrlAlgoToolkit.RevitAddins;
namespace ShrlAlgoToolkit.RevitAddins.Modeling;
public partial class PipesCreatorViewModel : ObservableObject
@@ -25,11 +21,11 @@ public partial class PipesCreatorViewModel : ObservableObject
private readonly Document document;
[ObservableProperty]
[NotifyCanExecuteChangedFor(nameof(Modeling.PipesCreatorViewModel.CreateCommand))]
[NotifyCanExecuteChangedFor(nameof(CreateCommand))]
public partial PipeType SelectedPipeType { get; set; }
[ObservableProperty]
[NotifyCanExecuteChangedFor(nameof(Modeling.PipesCreatorViewModel.CreateCommand))]
[NotifyCanExecuteChangedFor(nameof(CreateCommand))]
public partial PipingSystemType SelectedPipingSystemType { get; set; }
public IList<PipeType> PipeTypes => document.OfClass<PipeType>().Cast<PipeType>().ToList();