Summary
Performs conversion from source to destination type
- Assembly
- Rocket
.Surgery .Extensions .AutoMapper .dll - Namespace
- Rocket
.Surgery .Extensions .AutoMapper .Converters - Containing Type
- InstantConverter
Syntax
public Instant Convert(DateTimeOffset source, Instant destination, ResolutionContext context)
Attributes
| Type | Description |
|---|---|
| Nullable |
Parameters
| Name | Type | Description |
|---|---|---|
| source | DateTimeOffset | Source object |
| destination | Instant | Destination object |
| context | ResolutionContext | Resolution context |
Return Value
| Type | Description |
|---|---|
| Instant | Destination object |
