Files
RevitGen/RevitGen.Common/Attributes/CommandHandlerAttribute.cs

13 lines
402 B
C#
Raw Permalink Normal View History

2025-09-03 21:46:26 +08:00
using System;
namespace RevitGen.Attributes
{
/// <summary>
/// 标记一个方法作为 RevitGen 命令的执行逻辑入口点。
/// ★★ 这个方法必须是无参数的,并且返回 void。★★
/// </summary>
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
public sealed class CommandHandlerAttribute : Attribute
{
}
}