1
0
mirror of synced 2024-11-16 14:53:50 +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);
}
}
}