Class CustomMonitoringFilter
Implements a monitoring filter that executes the pre-configured custom code.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Monitoring.Filters
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class CustomMonitoringFilter : MonitoringFilterBase, IValidator, IEquatable<MonitoringFilterBase>, IExtensibleDataObject
Constructors
CustomMonitoringFilter()
Declaration
public CustomMonitoringFilter()
Fields
ElementName
Name of the root element when object is serialized to XML.
Declaration
public const string ElementName = "CUSTOM-FILTER"
Field Value
Type | Description |
---|---|
String |
Properties
Configuration
Gets or sets private configuration for configured IMonitoringFilter type.
Declaration
public string Configuration { get; set; }
Property Value
Type | Description |
---|---|
String |
MonitoringFilterType
Gets information about the IMonitoringFilter type implementing this expression.
Declaration
public MonitoringFilterType MonitoringFilterType { get; }
Property Value
Type | Description |
---|---|
MonitoringFilterType |
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 the specified object is equal to the current object; otherwise, false. |
Overrides
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
Boolean | True if the specified object is equal to the current object; otherwise, false. |
Overrides
GetHashCode()
Returns hash code for the value of this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | Hash code for the value of this instance. |
Overrides
Validate()
Evaluates the state of the object.
Declaration
public override bool Validate()
Returns
Type | Description |
---|---|
Boolean | True if state is valid; otherwise, false. |
Overrides
WriteProperty(MonitoringTransactionProperty, MonitoringFilterContext)
Modifies or delivers the provided monitoring transaction property.
Declaration
public override 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. |
Overrides
WriteRecord(MonitoringRecord, MonitoringFilterContext)
Modifies or delivers the provided monitoring record.
Declaration
public override void WriteRecord(MonitoringRecord record, MonitoringFilterContext context)
Parameters
Type | Name | Description |
---|---|---|
MonitoringRecord | record | Monitoring record to be delivered. |
MonitoringFilterContext | context | Context of the executed operation. |
Overrides
WriteTransaction(MonitoringTransaction, MonitoringFilterContext)
Modifies or delivers the provided monitoring transaction.
Declaration
public override void WriteTransaction(MonitoringTransaction transaction, MonitoringFilterContext context)
Parameters
Type | Name | Description |
---|---|---|
MonitoringTransaction | transaction | Monitoring transaction to be delivered. |
MonitoringFilterContext | context | Context of the executed operation. |