Files
TheDeclineOfWarriors/Packages/jp.hadashikick.vcontainer/Runtime/Annotations/KeyAttribute.cs
T
2026-04-07 04:51:37 +07:00

15 lines
370 B
C#

using System;
namespace VContainer
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class KeyAttribute : PreserveAttribute
{
public object Key { get; }
public KeyAttribute(object key = null)
{
Key = key;
}
}
}