File size: 406 Bytes
18a519f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | using System;
namespace Unity.VisualScripting
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
public class PortKeyAttribute : Attribute
{
public PortKeyAttribute(string key)
{
Ensure.That(nameof(key)).IsNotNull(key);
this.key = key;
}
public string key { get; }
}
}
|