DurationConverter.

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

Summary

Performs conversion from source to destination type

Syntax

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

Attributes

Type Description
NullableContextAttribute

Parameters

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

Return Value

Type Description
Nullable<Duration> Destination object