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