2016-11-16 22:11:05 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Tapeti.Annotations
|
|
|
|
|
{
|
|
|
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
|
|
|
public class QueueAttribute : Attribute
|
|
|
|
|
{
|
2016-11-20 13:34:50 +00:00
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public bool Dynamic { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public QueueAttribute(string name = null)
|
|
|
|
|
{
|
|
|
|
|
Name = name;
|
|
|
|
|
Dynamic = (name == null);
|
|
|
|
|
}
|
2016-11-16 22:11:05 +00:00
|
|
|
|
}
|
|
|
|
|
}
|