18 lines
475 B
C#
18 lines
475 B
C#
namespace System.Runtime.CompilerServices;
|
|||
|
|
|
||
|
|
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
|
||
|
|
internal sealed class InterpolatedStringHandlerArgumentAttribute : Attribute
|
||
|
|
{
|
||
|
|
public string[] Arguments { get; }
|
||
|
|
|
||
|
|
public InterpolatedStringHandlerArgumentAttribute(string argument)
|
||
|
|
{
|
||
|
|
Arguments = new string[1] { argument };
|
||
|
|
}
|
||
|
|
|
||
|
|
public InterpolatedStringHandlerArgumentAttribute(params string[] arguments)
|
||
|
|
{
|
||
|
|
Arguments = arguments;
|
||
|
|
}
|
||
|
|
}
|