Class MonitoringFilterBase
Represents the base class for all monitoring filters. Monitoring filter is a component responsible for transforming and delivering monitoring transactions, records, and properties.
Inheritance
Implements
Inherited Members
Namespace: Nevatech.Vsb.Repository.Monitoring.Filters
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public abstract class MonitoringFilterBase : IValidator, IEquatable<MonitoringFilterBase>, IExtensibleDataObject
Constructors
MonitoringFilterBase()
Declaration
protected MonitoringFilterBase()
Properties
ErrorMessage
Gets the summary of validation errors.
Declaration
public string ErrorMessage { get; protected set; }
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 |
InnerFilter
Gets or sets the next filter in the pipeline.
Declaration
protected MonitoringFilterBase InnerFilter { get; set; }
Property Value
Type | Description |
---|---|
MonitoringFilterBase |
Methods
Equals(MonitoringFilterBase)
Determines whether the specified object is equal to the current object.
Declaration
public virtual bool Equals(MonitoringFilterBase other)
Parameters
Type | Name | Description |
---|---|---|
MonitoringFilterBase | 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 virtual bool Validate()
Returns
Type | Description |
---|---|
System.Boolean | True if state is valid; otherwise, false. |
WriteProperty(MonitoringTransactionProperty, MonitoringFilterContext)
Modifies or delivers the provided monitoring transaction property.
Declaration
public virtual void WriteProperty(MonitoringTransactionProperty property, MonitoringFilterContext context)
Parameters
Type | Name | Description |
---|---|---|
MonitoringTransactionProperty | property | Monitoring transaction property to be delivered. |
MonitoringFilterContext | context | Context of the executed operation. |
WriteRecord(MonitoringRecord, MonitoringFilterContext)
Modifies or delivers the provided monitoring record.
Declaration
public virtual void WriteRecord(MonitoringRecord record, MonitoringFilterContext context)
Parameters
Type | Name | Description |
---|---|---|
MonitoringRecord | record | Monitoring record to be delivered. |
MonitoringFilterContext | context | Context of the executed operation. |
WriteTransaction(MonitoringTransaction, MonitoringFilterContext)
Modifies or delivers the provided monitoring transaction.
Declaration
public virtual void WriteTransaction(MonitoringTransaction transaction, MonitoringFilterContext context)
Parameters
Type | Name | Description |
---|---|---|
MonitoringTransaction | transaction | Monitoring transaction to be delivered. |
MonitoringFilterContext | context | Context of the executed operation. |