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
- Instant
Pattern Converter
Syntax
public InstantPatternConverter(IPattern<Instant>[] patterns, IPattern<OffsetDateTime>[] alternatePatterns)
Parameters
Name | Type | Description |
---|---|---|
patterns | IPattern |
|
alternatePatterns | IPattern |
Return Value
Type | Description |
---|---|
void |