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