10 lines
268 B
C#
10 lines
268 B
C#
namespace Pilz.Net.Api;
|
|
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
public class MessageHandlerAttribute(string route) : Attribute
|
|
{
|
|
public string Route { get; set; } = route;
|
|
public Type? Serializer { get; set; }
|
|
public bool RequiesAuth { get; set; }
|
|
}
|