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
369 B

  1. using System;
  2. namespace Apewer
  3. {
  4. /// <summary>表示方法不可并行。</summary>
  5. [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
  6. public sealed class UnparallelAttribute : Attribute
  7. {
  8. /// <summary></summary>
  9. public static implicit operator bool(UnparallelAttribute unparallel) => unparallel != null;
  10. }
  11. }