1
0
mirror of synced 2024-07-06 01:50:37 +00:00
Tapeti/Annotations/QueueAttribute.cs

19 lines
370 B
C#

using System;
namespace Tapeti.Annotations
{
[AttributeUsage(AttributeTargets.Class)]
public class QueueAttribute : Attribute
{
public string Name { get; set; }
public bool Dynamic { get; set; }
public QueueAttribute(string name = null)
{
Name = name;
Dynamic = (name == null);
}
}
}