using System;
namespace ComputeSharp.Tests.Attributes;
///
/// An attribute to use with targeting a specific resource type.
///
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public sealed class ResourceAttribute : Attribute
{
///
/// Creates a new instance with the specified parameters.
///
/// The resource type.
public ResourceAttribute(Type type)
{
Type = type;
}
///
/// Gets the resource type for the current attribute.
///
public Type Type { get; }
}