Class ReadProtectionAttribute
- Namespace
- Cratis.Arc.Commands
- Assembly
- Cratis.Arc.Core.dll
Declares the read-protection rollout mode for a command or its assembly.
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Struct, AllowMultiple = false, Inherited = true)]
public sealed class ReadProtectionAttribute : Attribute
- Inheritance
-
ReadProtectionAttribute
- Inherited Members
- Extension Methods
Constructors
ReadProtectionAttribute(ReadProtectionMode)
Declares the read-protection rollout mode for a command or its assembly.
public ReadProtectionAttribute(ReadProtectionMode mode)
Parameters
modeReadProtectionModeThe declared mode.
Properties
Mode
Gets the declared mode.
public ReadProtectionMode Mode { get; }