narsil/Tanshu.Accounts.Contracts/Attributes/AllowNullAttribute.cs

16 lines
375 B
C#

using System;
namespace Tanshu.Accounts.Contracts.Attributes
{
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public class AllowNullAttribute : Attribute
{
private string _message = string.Empty;
public string Message
{
get { return _message; }
set { _message = value; }
}
}
}