mirror of
https://github.com/maxartz15/Validator.git
synced 2025-06-28 04:06:05 +02:00
Changed naming and tabs
This commit is contained in:
@ -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() { }
|
||||
|
Reference in New Issue
Block a user