This commit is contained in:
2026-07-14 17:26:51 +03:00
parent 13898323dd
commit be2a24bfd9
30 changed files with 2285 additions and 105 deletions
@@ -0,0 +1,13 @@
using Esiur.Security.Management;
using System;
namespace Esiur.Resource;
/// <summary>
/// Associates a registered auditing-manager implementation with a resource type.
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public sealed class AuditingManagerAttribute<T> : Attribute
where T : IAuditingManager
{
}
@@ -0,0 +1,13 @@
using Esiur.Security.Permissions;
using System;
namespace Esiur.Resource;
/// <summary>
/// Associates a registered permissions-manager implementation with a resource type.
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public sealed class PermissionsManagerAttribute<T> : Attribute
where T : IPermissionsManager
{
}
@@ -0,0 +1,13 @@
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> : Attribute
where T : IRateControlManager
{
}