namespace XFEExtension.NetCore.XUnit.Attributes; /// /// 在测试程序集上注册运行时扩展实现。 /// /// /// 实现 /// 或 的类型。 /// [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] public sealed class UseExtensionAttribute(Type extensionType) : Attribute { /// /// 获取要由运行器实例化的扩展类型。 /// public Type ExtensionType { get; } = extensionType; }