C# Class TechTalk.SpecFlow.Assist.ValueRetrievers.NullableDateTimeOffsetValueRetriever

Inheritance: IValueRetriever
Mostrar archivo Open project: techtalk/SpecFlow Class Usage Examples

Public Methods

Method Description
CanRetrieve ( string>.KeyValuePair keyValuePair, Type targetType, Type propertyType ) : bool
GetValue ( string value ) : DateTimeOffset?
NullableDateTimeOffsetValueRetriever ( DateTimeOffset>.Func dateTimeOffsetValueRetriever = null ) : System
Retrieve ( string>.KeyValuePair keyValuePair, Type targetType, Type propertyType ) : object

Method Details

CanRetrieve() public method

public CanRetrieve ( string>.KeyValuePair keyValuePair, Type targetType, Type propertyType ) : bool
keyValuePair string>.KeyValuePair
targetType System.Type
propertyType System.Type
return bool

GetValue() public method

public GetValue ( string value ) : DateTimeOffset?
value string
return DateTimeOffset?

NullableDateTimeOffsetValueRetriever() public method

public NullableDateTimeOffsetValueRetriever ( DateTimeOffset>.Func dateTimeOffsetValueRetriever = null ) : System
dateTimeOffsetValueRetriever DateTimeOffset>.Func
return System

Retrieve() public method

public Retrieve ( string>.KeyValuePair keyValuePair, Type targetType, Type propertyType ) : object
keyValuePair string>.KeyValuePair
targetType System.Type
propertyType System.Type
return object