Summary
Creates a new instance with a pattern and an optional validator. The validator will be called before each
value is written, and may throw an exception to indicate that the value cannot be serialized.
- Assembly
- Rocket
.Surgery .Azure .Storage .dll - Namespace
- Rocket
.Surgery .Azure .Storage .Converters - Containing Type
- Noda
Multiple Pattern Converter <T>
Syntax
public NodaMultiplePatternConverter(Action<T> validator, params IPattern<T>[] patterns)
Parameters
Name | Type | Description |
---|---|---|
validator | Action |
The validator to call before writing values. May be null, indicating that no validation is required. |
patterns | IPattern |
Return Value
Type | Description |
---|---|
void |