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 Nullable<Duration> Convert(Nullable<int> source, Nullable<Duration> destination, ResolutionContext context)
Attributes
| Type | Description |
|---|---|
| Nullable |
Parameters
| Name | Type | Description |
|---|---|---|
| source | Nullable |
Source object |
| destination | Nullable |
Destination object |
| context | ResolutionContext | Resolution context |
Return Value
| Type | Description |
|---|---|
| Nullable |
Destination object |
