DurationConverter.

Convert(Nullable<Duration>, Nullable<TimeSpan>, ResolutionContext) Method

Summary

Performs conversion from source to destination type

Syntax

public Nullable<TimeSpan> Convert(Nullable<Duration> source, Nullable<TimeSpan> destination, ResolutionContext context)

Attributes

Type Description
NullableContextAttribute

Parameters

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

Return Value

Type Description
Nullable<TimeSpan> Destination object