DurationConverter.

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

Summary

Performs conversion from source to destination type

Syntax

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

Attributes

Type Description
NullableContextAttribute

Parameters

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

Return Value

Type Description
Nullable<int> Destination object