You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
348 B

  1. using System;
  2. namespace Apewer.Source
  3. {
  4. /// <summary>字段不能是 NULL 值。</summary>
  5. [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
  6. public sealed class NotNullAttribute : Attribute
  7. {
  8. /// <summary></summary>
  9. public override string ToString() => "Not Null";
  10. }
  11. }