1
0
mirror of synced 2024-09-28 19:56:09 +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);
}
}
}