mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-07-30 17:30:40 +00:00
15 lines
485 B
C#
15 lines
485 B
C#
using Esiur.Security.Permissions;
|
|
|
|
namespace Esiur.Security.Management;
|
|
|
|
/// <summary>
|
|
/// Evaluates whether a resource operation is admitted by rate-control policy.
|
|
/// A manager may assign <see cref="ResourceManagerContext.Delay"/> when allowing
|
|
/// an operation that should be queued and
|
|
/// <see cref="ResourceManagerContext.SupportsDelay"/> is true.
|
|
/// </summary>
|
|
public interface IRateControlManager : IResourceManager
|
|
{
|
|
Ruling Applicable(ResourceManagerContext context);
|
|
}
|