Class MaskingFilterMessage
Represents the masking configuration to be applied to a request, response, or fault message.
Inheritance
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Monitoring.Filters
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class MaskingFilterMessage : IValidator, IEquatable<MaskingFilterMessage>, IExtensibleDataObject
Constructors
MaskingFilterMessage()
Declaration
public MaskingFilterMessage()
Properties
Body
Get the collection of expression to be used for masking the parts of the message body.
Declaration
public MaskingExpressionCollection Body { get; }
Property Value
Type | Description |
---|---|
MaskingExpressionCollection |
ErrorMessage
Gets the summary of validation errors.
Declaration
public string ErrorMessage { get; }
Property Value
Type | Description |
---|---|
System.String |
ExtensionData
Gets or sets System.Runtime.Serialization.ExtensionDataObject that enables serialization round-trips.
Declaration
public ExtensionDataObject ExtensionData { get; set; }
Property Value
Type | Description |
---|---|
System.Runtime.Serialization.ExtensionDataObject |
HttpHeaders
Gets collection of HTTP headers that need to be masked.
Declaration
public MaskingHeaderDictionary HttpHeaders { get; }
Property Value
Type | Description |
---|---|
MaskingHeaderDictionary |
Methods
Equals(MaskingFilterMessage)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(MaskingFilterMessage other)
Parameters
Type | Name | Description |
---|---|---|
MaskingFilterMessage | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.Boolean | True, if objects are equal. False, if objects are not equal. |
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.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 |
---|---|
System.Int32 | Hash code of the current instance. |
Overrides
Validate()
Evaluates the state of this object.
Declaration
public bool Validate()
Returns
Type | Description |
---|---|
System.Boolean | True if state is valid; otherwise, false. |