Class CompositeWorkMatch
Matches work context using AND and OR branches of composite matches
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)
System.Object.ToString()
Namespace: Azos.Wave
Assembly: Azos.Wave.dll
Syntax
public class CompositeWorkMatch : WorkMatch, INamed, IOrdered
Constructors
CompositeWorkMatch(IConfigSectionNode)
Declaration
public CompositeWorkMatch(IConfigSectionNode confNode)
Parameters
Type | Name | Description |
---|---|---|
IConfigSectionNode | confNode |
CompositeWorkMatch(String, Int32)
Declaration
public CompositeWorkMatch(string name, int order)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Int32 | order |
Fields
CONFIG_AND_SECTION
Declaration
public const string CONFIG_AND_SECTION = "and"
Field Value
Type | Description |
---|---|
System.String |
CONFIG_OR_SECTION
Declaration
public const string CONFIG_OR_SECTION = "or"
Field Value
Type | Description |
---|---|
System.String |
Properties
ANDMatches
AND matches - all must match
Declaration
public OrderedRegistry<WorkMatch> ANDMatches { get; }
Property Value
Type | Description |
---|---|
OrderedRegistry<WorkMatch> |
CaptureMatches
If true, captures result of individuals matches into return context of this match
Declaration
[Config]
public bool CaptureMatches { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ORMatches
OR matches - any one can match
Declaration
public OrderedRegistry<WorkMatch> ORMatches { get; }
Property Value
Type | Description |
---|---|
OrderedRegistry<WorkMatch> |
Methods
Make(WorkContext, Object)
Declaration
public override JSONDataMap Make(WorkContext work, object context = null)
Parameters
Type | Name | Description |
---|---|---|
WorkContext | work | |
System.Object | context |
Returns
Type | Description |
---|---|
JSONDataMap |