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