Class MaskingMonitoringFilter
Implements a monitoring filter that replaces (masks) parts of the recorded message or transaction according to pre-configured rules.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Monitoring.Filters
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class MaskingMonitoringFilter : MonitoringFilterBase, IValidator, IEquatable<MonitoringFilterBase>, IExtensibleDataObject
Constructors
MaskingMonitoringFilter()
Declaration
public MaskingMonitoringFilter()
Fields
ElementName
Name of the root element when object is serialized to XML.
Declaration
public const string ElementName = "MASKING-FILTER"
Field Value
Type | Description |
---|---|
String |
Properties
Scopes
Gets collection of masking rules to be applied to a set of service operations.
Declaration
public Collection<MaskingFilterScope> Scopes { get; }
Property Value
Type | Description |
---|---|
Collection<MaskingFilterScope> |
Methods
Equals(MonitoringFilterBase)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(MonitoringFilterBase other)
Parameters
Type | Name | Description |
---|---|---|
MonitoringFilterBase | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
Boolean | True, if objects are equal. False, if objects are not equal. |
Overrides
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | Hash code of the current instance. |
Overrides
Validate()
Evaluates the state of this object.
Declaration
public override bool Validate()
Returns
Type | Description |
---|---|
Boolean | True if state is valid; otherwise, false. |
Overrides
WriteRecord(MonitoringRecord, MonitoringFilterContext)
Inspects and masks the provided monitoring record.
Declaration
public override void WriteRecord(MonitoringRecord record, MonitoringFilterContext context)
Parameters
Type | Name | Description |
---|---|---|
MonitoringRecord | record | Monitoring record to be masked. |
MonitoringFilterContext | context | Context of the executed operation. |
Overrides
WriteTransaction(MonitoringTransaction, MonitoringFilterContext)
Inspects and masks the provided monitoring transaction.
Declaration
public override void WriteTransaction(MonitoringTransaction transaction, MonitoringFilterContext context)
Parameters
Type | Name | Description |
---|---|---|
MonitoringTransaction | transaction | Monitoring transaction to be masked. |
MonitoringFilterContext | context | Context of the executed operation. |