Class KaijuAgentsMultiMatcher
Helper to match multiple KaijuAgentsMatcher instances together which all must succeed.
Inheritance
Namespace: KaijuSolutions.Agents
Syntax
[Serializable]
public class KaijuAgentsMultiMatcher
Properties
Matchers
KaijuAgentsMatcher instances to compare where they all must pass their condition.
Declaration
public List<KaijuAgentsMatcher> Matchers { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<KaijuAgentsMatcher> |
Methods
Matched(String)
Get if this is a match.
Declaration
public bool Matched(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value | The value to match against. |
Returns
| Type | Description |
|---|---|
| System.Boolean | If the value matches all the KaijuSolutions.Agents.KaijuAgentsMultiMatcher.matchers to see if they all pass. |
Operators
Implicit(KaijuAgentsMultiMatcher to Int16)
Implicit conversion to a short integer based on the number of Matchers.
Declaration
public static implicit operator short (KaijuAgentsMultiMatcher m)
Parameters
| Type | Name | Description |
|---|---|---|
| KaijuAgentsMultiMatcher | m | The matcher. |
Returns
| Type | Description |
|---|---|
| System.Int16 | The number of Matchers. |
Implicit(KaijuAgentsMultiMatcher to Int32)
Implicit conversion to an integer based on the number of Matchers.
Declaration
public static implicit operator int (KaijuAgentsMultiMatcher m)
Parameters
| Type | Name | Description |
|---|---|---|
| KaijuAgentsMultiMatcher | m | The matcher. |
Returns
| Type | Description |
|---|---|
| System.Int32 | The number of Matchers. |
Implicit(KaijuAgentsMultiMatcher to Int64)
Implicit conversion to a long integer based on the number of Matchers.
Declaration
public static implicit operator long (KaijuAgentsMultiMatcher m)
Parameters
| Type | Name | Description |
|---|---|---|
| KaijuAgentsMultiMatcher | m | The matcher. |
Returns
| Type | Description |
|---|---|
| System.Int64 | The number of Matchers. |
Implicit(KaijuAgentsMultiMatcher to Nullable<Int16>)
Implicit conversion to a nullable short integer based on the number of Matchers.
Declaration
public static implicit operator short? (KaijuAgentsMultiMatcher m)
Parameters
| Type | Name | Description |
|---|---|---|
| KaijuAgentsMultiMatcher | m | The matcher. |
Returns
| Type | Description |
|---|---|
| System.Nullable<System.Int16> | The number of Matchers. |
Implicit(KaijuAgentsMultiMatcher to Nullable<Int32>)
Implicit conversion to a nullable integer based on the number of Matchers.
Declaration
public static implicit operator int? (KaijuAgentsMultiMatcher m)
Parameters
| Type | Name | Description |
|---|---|---|
| KaijuAgentsMultiMatcher | m | The matcher. |
Returns
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The number of Matchers. |
Implicit(KaijuAgentsMultiMatcher to Nullable<Int64>)
Implicit conversion to a nullable long integer based on the number of Matchers.
Declaration
public static implicit operator long? (KaijuAgentsMultiMatcher m)
Parameters
| Type | Name | Description |
|---|---|---|
| KaijuAgentsMultiMatcher | m | The matcher. |
Returns
| Type | Description |
|---|---|
| System.Nullable<System.Int64> | The number of Matchers. |
Implicit(KaijuAgentsMultiMatcher to Nullable<UInt16>)
Implicit conversion to a nullable unsigned short integer based on the number of Matchers.
Declaration
public static implicit operator ushort? (KaijuAgentsMultiMatcher m)
Parameters
| Type | Name | Description |
|---|---|---|
| KaijuAgentsMultiMatcher | m | The matcher. |
Returns
| Type | Description |
|---|---|
| System.Nullable<System.UInt16> | The number of Matchers. |
Implicit(KaijuAgentsMultiMatcher to Nullable<UInt32>)
Implicit conversion to a nullable unsigned integer based on the number of Matchers.
Declaration
public static implicit operator uint? (KaijuAgentsMultiMatcher m)
Parameters
| Type | Name | Description |
|---|---|---|
| KaijuAgentsMultiMatcher | m | The matcher. |
Returns
| Type | Description |
|---|---|
| System.Nullable<System.UInt32> | The number of Matchers. |
Implicit(KaijuAgentsMultiMatcher to Nullable<UInt64>)
Implicit conversion to a nullable unsigned long integer based on the number of Matchers.
Declaration
public static implicit operator ulong? (KaijuAgentsMultiMatcher m)
Parameters
| Type | Name | Description |
|---|---|---|
| KaijuAgentsMultiMatcher | m | The matcher. |
Returns
| Type | Description |
|---|---|
| System.Nullable<System.UInt64> | The number of Matchers. |
Implicit(KaijuAgentsMultiMatcher to String)
Implicit conversion to a string.
Declaration
public static implicit operator string (KaijuAgentsMultiMatcher m)
Parameters
| Type | Name | Description |
|---|---|---|
| KaijuAgentsMultiMatcher | m | The matcher. |
Returns
| Type | Description |
|---|---|
| System.String | The string from the KaijuSolutions.Agents.KaijuAgentsMultiMatcher.ToString method. |
Implicit(KaijuAgentsMultiMatcher to UInt16)
Implicit conversion to an unsigned short integer based on the number of Matchers.
Declaration
public static implicit operator ushort (KaijuAgentsMultiMatcher m)
Parameters
| Type | Name | Description |
|---|---|---|
| KaijuAgentsMultiMatcher | m | The matcher. |
Returns
| Type | Description |
|---|---|
| System.UInt16 | The number of Matchers. |
Implicit(KaijuAgentsMultiMatcher to UInt32)
Implicit conversion to an unsigned integer based on the number of Matchers.
Declaration
public static implicit operator uint (KaijuAgentsMultiMatcher m)
Parameters
| Type | Name | Description |
|---|---|---|
| KaijuAgentsMultiMatcher | m | The matcher. |
Returns
| Type | Description |
|---|---|
| System.UInt32 | The number of Matchers. |
Implicit(KaijuAgentsMultiMatcher to UInt64)
Implicit conversion to an unsigned long integer based on the number of Matchers.
Declaration
public static implicit operator ulong (KaijuAgentsMultiMatcher m)
Parameters
| Type | Name | Description |
|---|---|---|
| KaijuAgentsMultiMatcher | m | The matcher. |
Returns
| Type | Description |
|---|---|
| System.UInt64 | The number of Matchers. |