Class ObfuscatedField
Inheritance
ObfuscatedField
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
[DataContract]
public class ObfuscatedField : BaseEntityWithPermissions, IObfuscatedField, IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ISetCopier, ICloneableAsync<IObfuscatedField>
Constructors
ObfuscatedField()
Declaration
Properties
EntityTypeID
[Key] Indicates what entity you want to obfuscate a field for
Declaration
[RequiredNoDefaultIDValidation]
public Guid EntityTypeID { get; set; }
Property Value
Length
The length of obfuscation to apply to the property
Declaration
[EnumDataType(typeof(ObfuscationLength))]
public ObfuscationLength Length { get; set; }
Property Value
Declaration
[NotMapped]
public string Length_Tooltip { get; set; }
Property Value
PropertyName
The name of the property you want to obfuscate
Declaration
[Required]
[StringLength(500)]
public string PropertyName { get; set; }
Property Value
Type
The type of obfuscation to apply to the property
Declaration
[EnumDataType(typeof(ObfuscationType))]
public ObfuscationType Type { get; set; }
Property Value
TypePropertyComboItems
Declaration
[NotMapped]
public KeyValuePair<string, string>[] TypePropertyComboItems { get; set; }
Property Value
Declaration
[NotMapped]
public string Type_Tooltip { get; set; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
CopyFromSource(IObfuscatedField)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(IObfuscatedField source)
Parameters
Type |
Name |
Description |
IObfuscatedField |
source |
The source object to copy all values from.
|
SetTypePropertyComboItems(Func<ObfuscatedField, KeyValuePair<string, string>[]>)
Declaration
public void SetTypePropertyComboItems(Func<ObfuscatedField, KeyValuePair<string, string>[]> comboItems)
Parameters
Implements
Extension Methods