Class CapabilityAttribute
- Namespace
- DotBoxD.Abstractions
- Assembly
- DotBoxD.Abstractions.dll
Gates an event property behind a capability. Reading the property from kernel IR contributes
id to the manifest's required capabilities, so a kernel that touches the property
only installs under a policy granting it. Unannotated properties stay ungated (default-allow).
[AttributeUsage(AttributeTargets.Property)]
public sealed class CapabilityAttribute : Attribute
- Inheritance
-
CapabilityAttribute
- Inherited Members
Constructors
CapabilityAttribute(string)
Gates an event property behind a capability. Reading the property from kernel IR contributes
id to the manifest's required capabilities, so a kernel that touches the property
only installs under a policy granting it. Unannotated properties stay ungated (default-allow).
public CapabilityAttribute(string id)
Parameters
idstring
Properties
Id
public string Id { get; }