Class ObfuscatedFieldsParameters
Inherited Members
Namespace: LemonEdge.API.Core.Tasks.Parameters
Assembly: LemonEdge.API.dll
Syntax
[DataContract]
[ServerTaskParameters("Obfuscated Fields", "8C0AEC80-C0EE-44E2-AC12-21D4EAD428AA", Description = "Runs through all setup obfuscated fields and *updates* the database live to obfuscate those fields - only run on a non production database, the operation is irreversible.")]
public class ObfuscatedFieldsParameters : ServerTaskParameter, ICloneable, ICloneable<ObfuscatedFieldsParameters>, INotifyPropertyChanged
Constructors
ObfuscatedFieldsParameters()
Declaration
public ObfuscatedFieldsParameters()
Fields
UNIQUE_TASK_ID
Declaration
public const string UNIQUE_TASK_ID = "8C0AEC80-C0EE-44E2-AC12-21D4EAD428AA"
Field Value
| Type | Description |
|---|---|
| string |
Properties
DeleteAllAlgorithmRunData
Declaration
public bool DeleteAllAlgorithmRunData { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
DeleteAllTasks
Declaration
public bool DeleteAllTasks { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ObfuscateAllFields
Declaration
public bool ObfuscateAllFields { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
TruncateAllHistoryTables
Declaration
public bool TruncateAllHistoryTables { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
Clone()
Creates a new instance of this class (of type ObfuscatedFieldsParameters) with all the same property values as this instance
Declaration
public ObfuscatedFieldsParameters Clone()
Returns
| Type | Description |
|---|---|
| ObfuscatedFieldsParameters | A new instance of this class with all the same property values as this instance |
CopyFromParam(SerializedParam)
Should be overridden by inheriting implementations to ensure all parameters values are copied from the specified
source
Declaration
protected override void CopyFromParam(SerializedParam source)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializedParam | source | The source instance of a SerializedParam that is of the same type as this one to copy parameter values from |
Overrides
Remarks
Used by the generic implementation of Clone()
CopyFromSource(ObfuscatedFieldsParameters)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(ObfuscatedFieldsParameters source)
Parameters
| Type | Name | Description |
|---|---|---|
| ObfuscatedFieldsParameters | source | The source object to copy all values from. |
CreateNewParam()
Must be implemented by inheriting classes to provide a new instance of the current class type.
Used when cloning this SerializedParam to create a new instance of the same type
Declaration
protected override SerializedParam CreateNewParam()
Returns
| Type | Description |
|---|---|
| SerializedParam | A new instance of the current SerializedParam type |
Overrides
GetUserFriendlyTaskInstanceIdentityInfo(IServerTask)
Returns a user friendly string for the type of task being processed that these parameters work against
Declaration
public override string GetUserFriendlyTaskInstanceIdentityInfo(IServerTask task)
Parameters
| Type | Name | Description |
|---|---|---|
| IServerTask | task | An instance of a task that these parameters work for |
Returns
| Type | Description |
|---|---|
| string | A user friendly string for the type of task being processed that these parameters work against |
Overrides
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type | Description |
|---|---|
| PropertyChangedEventHandler |