Class LabelSelector
Implements label related utilities.
Namespace: Neon.Common
Assembly: Neon.Common.dll
Syntax
public static class LabelSelector
Methods
ValidateLabelKey(string)
Validates a label key.
Declaration
public static void ValidateLabelKey(string labelKey)
Parameters
| Type | Name | Description |
|---|---|---|
| string | labelKey | The label key. |
Exceptions
| Type | Condition |
|---|---|
| FormatException | Thrown if the key is not valid. |
ValidateLabelValue(string)
Validates a label value.
Declaration
public static void ValidateLabelValue(string labelValue)
Parameters
| Type | Name | Description |
|---|---|---|
| string | labelValue | The label value. |
Exceptions
| Type | Condition |
|---|---|
| FormatException | Thrown if the key is not valid. |