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
344 B
16 lines
344 B
using System;
|
|
|
|
namespace Apewer
|
|
{
|
|
|
|
/// <summary>表示方法不可并行。</summary>
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
public sealed class UnparallelAttribute : Attribute
|
|
{
|
|
|
|
/// <summary></summary>
|
|
public static implicit operator bool(UnparallelAttribute unparallel) => unparallel != null;
|
|
|
|
}
|
|
|
|
}
|