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