Class PersonalDataEraserRegister
- Namespace
- CMS.DataProtection
- Assembly
- CMS.DataProtection.dll
Contains personal data erasers.
public class PersonalDataEraserRegister
- Inheritance
-
objectPersonalDataEraserRegister
- Extension Methods
Properties
Count
Gets the number of registered IPersonalDataErasers in the register.
public int Count { get; }
Property Value
- int
Instance
Gets the PersonalDataEraserRegister instance.
public static PersonalDataEraserRegister Instance { get; }
Property Value
Methods
Add(IPersonalDataEraser)
Adds personal data eraser to the register.
public void Add(IPersonalDataEraser personalDataEraser)
Parameters
personalDataEraserIPersonalDataEraserInstance of IPersonalDataEraser responsible for erasing personal data.
Exceptions
- ArgumentNullException
Thrown when
personalDataEraseris null.
EraseData(IEnumerable<BaseInfo>, IDictionary<string, object>)
Erases all personal data of data subject's identities filtered by configuration by invoking registered erasers.
public void EraseData(IEnumerable<BaseInfo> identities, IDictionary<string, object> configuration)
Parameters
identitiesIEnumerable<BaseInfo>Collection of identities representing a data subject.
configurationIDictionary<string, object>Defines which personal data will be erased.
- See Also