DurationConverter.

Convert(Duration, TimeSpan, ResolutionContext) Method

Summary

Performs conversion from source to destination type

Syntax

public TimeSpan Convert(Duration source, TimeSpan destination, ResolutionContext context)

Attributes

Type Description
NullableContextAttribute

Parameters

Name Type Description
source Duration Source object
destination TimeSpan Destination object
context ResolutionContext Resolution context

Return Value

Type Description
TimeSpan Destination object