DurationConverter.

Convert(TimeSpan, Duration, ResolutionContext) Method

Summary

Performs conversion from source to destination type

Syntax

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

Attributes

Type Description
NullableContextAttribute

Parameters

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

Return Value

Type Description
Duration Destination object