namespace CirculateTool;
///
/// 一个类里面的方法加上这个特性就表示需要被循环执行
///
///
/// 一个类里面的方法加上这个特性就表示需要被循环执行
///
/// 循环时间,默认500ms
/// 方法描述
/// 方法描述
[AttributeUsage(AttributeTargets.All)]
public class CirculationAttribute(string? methodDescription = null, int circulationTime = 500, string[]? tags = null) : Attribute
{
///
/// 循环时间
///
public int CirculationTime { get; } = circulationTime;
///
/// 方法描述
///
public string? MethodDescription { get; } = methodDescription;
///
/// 方法或者类的标记
///
public string[]? Tags { get; } = tags;
}