18 lines
545 B
18 lines
545 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Apewer
|
|
{
|
|
|
|
/// <summary>实验性的。</summary>
|
|
[AttributeUsage(AttributeTargets.All, AllowMultiple = false, Inherited = true)]
|
|
public sealed class ExperimentalAttribute : Attribute
|
|
{
|
|
|
|
/// <summary>从 <see cref="ExperimentalAttribute"/> 到 Boolean 的隐式转换,判断 <see cref="ExperimentalAttribute"/> 有效。</summary>
|
|
public static implicit operator bool(ExperimentalAttribute instance) => instance != null;
|
|
|
|
}
|
|
|
|
}
|
|
|