清理代码

This commit is contained in:
GG Z
2026-02-20 16:47:26 +08:00
parent 9f121cfc7f
commit 97c0b18dc7
98 changed files with 435 additions and 1017 deletions

View File

@@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;
namespace ShrlAlgoToolkit.Mvvm.Attributes;
namespace ShrlAlgoToolkit.RevitAddins.Attributes;
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
public sealed class GreaterThanAttribute : ValidationAttribute

View File

@@ -1,7 +1,7 @@
using System.ComponentModel.DataAnnotations;
using System.Globalization;
namespace ShrlAlgoToolkit.Mvvm.Attributes;
namespace ShrlAlgoToolkit.RevitAddins.Attributes;
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
public sealed class IsNumericAttribute : ValidationAttribute

View File

@@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;
namespace ShrlAlgoToolkit.Mvvm.Attributes;
namespace ShrlAlgoToolkit.RevitAddins.Attributes;
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
public sealed class MaximumAttribute : ValidationAttribute

View File

@@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;
namespace ShrlAlgoToolkit.Mvvm.Attributes;
namespace ShrlAlgoToolkit.RevitAddins.Attributes;
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
public sealed class MinimumAttribute : ValidationAttribute

View File

@@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;
namespace ShrlAlgoToolkit.Mvvm.Attributes;
namespace ShrlAlgoToolkit.RevitAddins.Attributes;
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
public sealed class NotNullOrEmptyAttribute : ValidationAttribute

View File

@@ -1,6 +1,6 @@
using System.ComponentModel.DataAnnotations;
namespace ShrlAlgoToolkit.Mvvm.Attributes
namespace ShrlAlgoToolkit.RevitAddins.Attributes
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
public class UndefinedCharAttribute : ValidationAttribute