1
0
mirror of synced 2024-11-05 02:59:16 +00:00
Tapeti/Annotations/QueueAttribute.cs

19 lines
370 B
C#
Raw Normal View History

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);
}
}
}