清理多余引用
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user