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

17 lines
490 B
C#

using System;
using JetBrains.Annotations;
namespace Tapeti.Annotations
{
/// <inheritdoc />
/// <summary>
/// Attaching this attribute to a class includes it in the auto-discovery of message controllers
/// when using the RegisterAllControllers method. It is not required when manually registering a controller.
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
[MeansImplicitUse]
public class MessageControllerAttribute : Attribute
{
}
}