1
0
mirror of https://github.com/maxartz15/Validator.git synced 2025-06-27 19:56:06 +02:00

Changed naming and tabs

This commit is contained in:
max
2022-07-21 02:03:11 +02:00
parent 15808ce035
commit 5b70e24c32
10 changed files with 423 additions and 423 deletions

View File

@ -1,9 +1,9 @@
namespace Validator
{
public static partial class ReportCategories
{
public const string Art = "Art";
public const string Design = "Design";
public const string Code = "Code";
}
public static partial class ReportCategories
{
public const string Art = "Art";
public const string Design = "Design";
public const string Code = "Code";
}
}

View File

@ -2,10 +2,10 @@ using System;
namespace Validator
{
[AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
public class RequiredAttribute : Attribute
{
public WarningType WarningType { get; private set; } = WarningType.Error;
[AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
public class RequiredAttribute : Attribute
{
public WarningType WarningType { get; private set; } = WarningType.Error;
public string Category { get; private set; } = ReportCategories.Design;
public RequiredAttribute() { }