DurationConverter.

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

Summary

Performs conversion from source to destination type

Syntax

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

Attributes

Type Description
NullableContextAttribute

Parameters

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

Return Value

Type Description
Nullable<Duration> Destination object