using System;
namespace ComputeSharp.Tests.Attributes;
///
/// An attribute to use with adding arbitrary input data.
///
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public sealed class DataAttribute : Attribute
{
///
/// Creates a new instance with the specified parameters.
///
/// The input data.
public DataAttribute(params object[] data)
{
Data = data;
}
///
/// Gets the input data for the current attribute.
///
public object[] Data { get; }
}