Class PIIAttribute
- Namespace
- Cratis.Chronicle.Compliance.GDPR
- Assembly
- Cratis.Chronicle.dll
Represents an attribute that can be used to mark classes or properties to indicate the information kept is PII according to the definition of GDPR.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Property|AttributeTargets.Parameter, AllowMultiple = false)]
public sealed class PIIAttribute : Attribute
- Inheritance
-
PIIAttribute
- Inherited Members
- Extension Methods
Remarks
Initializes a new instance of the PIIAttribute class.
Constructors
PIIAttribute(string)
Represents an attribute that can be used to mark classes or properties to indicate the information kept is PII according to the definition of GDPR.
public PIIAttribute(string details = "")
Parameters
detailsstringOptional details - default value is empty string.
Remarks
Initializes a new instance of the PIIAttribute class.
Properties
Details
Gets the details as to why or to what purpose/extent the type or property marked is classified as PII.
public string Details { get; }