Table of Contents

Class IdentityCollectorRegister

Namespace
CMS.DataProtection
Assembly
CMS.DataProtection.dll

Contains identity collectors.

public class IdentityCollectorRegister
Inheritance
object
IdentityCollectorRegister
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

IdentityCollectorRegister

Methods

Add(IIdentityCollector)

Adds identity collector to the register.

public void Add(IIdentityCollector identitiesCollector)

Parameters

identitiesCollector IIdentityCollector

Instance of IIdentityCollector responsible for collecting data subject's identities.

Exceptions

ArgumentNullException

Thrown when identitiesCollector is 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

dataSubjectIdentifiersFilter IDictionary<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 dataSubjectIdentifiersFilter is null.

See Also
Collect(IDictionary<string, object>, List<BaseInfo>)

See Also