Class StopFilter
Stops the processing of WorkContext by throwing exception upon match
Inheritance
System.Object
StopFilter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Wave.Filters
Assembly: Azos.Wave.dll
Syntax
public class StopFilter : BeforeAfterFilterBase, IDisposable, IApplicationComponent, INamed, IOrdered
Constructors
StopFilter(WorkDispatcher, IConfigSectionNode)
Declaration
public StopFilter(WorkDispatcher dispatcher, IConfigSectionNode confNode)
Parameters
| Type | Name | Description |
|---|---|---|
| WorkDispatcher | dispatcher | |
| IConfigSectionNode | confNode |
StopFilter(WorkDispatcher, String, Int32)
Declaration
public StopFilter(WorkDispatcher dispatcher, string name, int order)
Parameters
| Type | Name | Description |
|---|---|---|
| WorkDispatcher | dispatcher | |
| System.String | name | |
| System.Int32 | order |
StopFilter(WorkHandler, IConfigSectionNode)
Declaration
public StopFilter(WorkHandler handler, IConfigSectionNode confNode)
Parameters
| Type | Name | Description |
|---|---|---|
| WorkHandler | handler | |
| IConfigSectionNode | confNode |
StopFilter(WorkHandler, String, Int32)
Declaration
public StopFilter(WorkHandler handler, string name, int order)
Parameters
| Type | Name | Description |
|---|---|---|
| WorkHandler | handler | |
| System.String | name | |
| System.Int32 | order |
Fields
VAR_CODE
Declaration
public const string VAR_CODE = "code"
Field Value
| Type | Description |
|---|---|
| System.String |
VAR_ERROR
Declaration
public const string VAR_ERROR = "error"
Field Value
| Type | Description |
|---|---|
| System.String |
Methods
DoAfterWork(WorkContext, JSONDataMap)
Declaration
protected override void DoAfterWork(WorkContext work, JSONDataMap matched)
Parameters
| Type | Name | Description |
|---|---|---|
| WorkContext | work | |
| JSONDataMap | matched |
Overrides
DoBeforeWork(WorkContext, JSONDataMap)
Declaration
protected override void DoBeforeWork(WorkContext work, JSONDataMap matched)
Parameters
| Type | Name | Description |
|---|---|---|
| WorkContext | work | |
| JSONDataMap | matched |
Overrides
Implements
System.IDisposable