Files
esiur-dotnet/Libraries/Esiur/Resource/Attributes/RateControlManagerAttribute.cs
T
2026-07-15 02:42:16 +03:00

17 lines
458 B
C#

using Esiur.Security.Management;
using System;
namespace Esiur.Resource;
/// <summary>
/// Associates a registered rate-control-manager implementation with a resource type.
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public sealed class RateControlManagerAttribute<T> : ResourceManagerAttribute
where T : IRateControlManager
{
public RateControlManagerAttribute() : base(typeof(T))
{
}
}