mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-07-30 17:30:40 +00:00
17 lines
458 B
C#
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))
|
|
{
|
|
}
|
|
}
|