命名优化,达芬奇字体修改工具
This commit is contained in:
@@ -28,13 +28,13 @@ public partial class FamilyLibraryViewModel : ObservableObject
|
||||
loadFamilyHandler = new ActionEventHandler();
|
||||
loadFamilySymbolHandler = new ActionEventHandler();
|
||||
#if REVIT2018
|
||||
familyPath = Settings.Default.FamilyPath_2018;
|
||||
FamilyPath = Settings.Default.FamilyPath_2018;
|
||||
#elif REVIT2019
|
||||
familyPath = Settings.Default.FamilyPath_2019;
|
||||
FamilyPath = Settings.Default.FamilyPath_2019;
|
||||
#elif REVIT2020
|
||||
familyPath = Settings.Default.FamilyPath_2020;
|
||||
FamilyPath = Settings.Default.FamilyPath_2020;
|
||||
#elif REVIT2021
|
||||
familyPath = Settings.Default.FamilyPath_2021;
|
||||
FamilyPath = Settings.Default.FamilyPath_2021;
|
||||
#endif
|
||||
PageSize = 20;
|
||||
Initialize();
|
||||
@@ -44,34 +44,34 @@ public partial class FamilyLibraryViewModel : ObservableObject
|
||||
private readonly ActionEventHandler loadFamilySymbolHandler;
|
||||
|
||||
[ObservableProperty]
|
||||
private string familyPath;
|
||||
public partial string FamilyPath { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
private int pageCount;
|
||||
public partial int PageCount { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
private int pageSize;
|
||||
public partial int PageSize { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
private string revitVersion;
|
||||
public partial string RevitVersion { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
private FamilyModel selectedFamily;
|
||||
public partial FamilyModel SelectedFamily { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
private FamilyTypeDefinition selectedSymbolType;
|
||||
public partial FamilyTypeDefinition SelectedSymbolType { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
private List<FamilyTypeDefinition> symbolTypes;
|
||||
public partial List<FamilyTypeDefinition> SymbolTypes { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
private bool activeSnackbar;
|
||||
public partial bool ActiveSnackbar { get; set; }
|
||||
|
||||
[ObservableProperty]
|
||||
private NeoUI.Controls.Alert messageQueue = new();
|
||||
public partial NeoUI.Controls.Alert MessageQueue { get; set; } = new();
|
||||
|
||||
[ObservableProperty]
|
||||
private string message;
|
||||
public partial string Message { get; set; }
|
||||
|
||||
partial void OnMessageChanged(string value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user