Class IdentityCollectorRegister
- Namespace
- CMS.DataProtection
- Assembly
- CMS.DataProtection.dll
Contains identity collectors.
public class IdentityCollectorRegister
- Inheritance
-
objectIdentityCollectorRegister
- Extension Methods
Properties
Count
Gets the number of registered IIdentityCollectors in the register.
public int Count { get; }
Property Value
- int
Instance
Gets the IdentityCollectorRegister instance.
public static IdentityCollectorRegister Instance { get; }
Property Value
Methods
Add(IIdentityCollector)
Adds identity collector to the register.
public void Add(IIdentityCollector identitiesCollector)
Parameters
identitiesCollectorIIdentityCollectorInstance of IIdentityCollector responsible for collecting data subject's identities.
Exceptions
- ArgumentNullException
Thrown when
identitiesCollectoris null.
CollectIdentities(IDictionary<string, object>)
Collects all the data subject's identities by invoking registered collectors and passing them the dataSubjectIdentifiersFilter.
public IEnumerable<BaseInfo> CollectIdentities(IDictionary<string, object> dataSubjectIdentifiersFilter)
Parameters
dataSubjectIdentifiersFilterIDictionary<string, object>Key value collection containing data subject's information that identifies it.
Returns
- IEnumerable<BaseInfo>
Collection of data subject's identities.
Exceptions
- ArgumentNullException
Thrown when
dataSubjectIdentifiersFilteris null.
- See Also