Class Anonymizable
Declares a Datum property to be anonymizable via the declared anonymizers.
Inheritance
System.Object
Anonymizable
Namespace: Sensus.Anonymization
Assembly: SensusAndroid.dll
Syntax
public class Anonymizable : Attribute
Constructors
Anonymizable(String, Type, Boolean)
Declaration
public Anonymizable(string propertyDisplayName, Type anonymizerType, bool anonymizeByDefault)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyDisplayName | |
System.Type | anonymizerType | |
System.Boolean | anonymizeByDefault |
Anonymizable(String, Type[], Int32)
Initializes a new instance of the Anonymizable class.
Declaration
public Anonymizable(string propertyDisplayName, Type[] availableAnonymizerTypes, int defaultAnonymizerIndex)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyDisplayName | Property display name. |
System.Type[] | availableAnonymizerTypes | Available anonymizer types. |
System.Int32 | defaultAnonymizerIndex | Default anonymizer index. Pass -1 for no anonymization. |
Properties
AvailableAnonymizers
Declaration
public List<Anonymizer> AvailableAnonymizers { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Anonymizer> |
DefaultAnonymizer
Declaration
public Anonymizer DefaultAnonymizer { get; }
Property Value
Type | Description |
---|---|
Anonymizer |
PropertyDisplayName
Declaration
public string PropertyDisplayName { get; }
Property Value
Type | Description |
---|---|
System.String |