PeriodConverter Class

Summary

PeriodConverter. Implements the AutoMapper.ITypeConverter`2 Implements the AutoMapper.ITypeConverter`2
Assembly
Rocket.Surgery.Extensions.AutoMapper.dll
Namespace
Rocket.Surgery.Extensions.AutoMapper.Converters
Interfaces
  • ITypeConverter<Period, string>
  • ITypeConverter<string, Period>
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["ITypeConverter<Period, string>"] Type-.->Interface1["ITypeConverter<string, Period>"] Type["PeriodConverter"] class Type type-node

Syntax

public class PeriodConverter : ITypeConverter<Period, string>, ITypeConverter<string, Period>

Attributes

Type Description
NullableContextAttribute
NullableAttribute
PublicAPIAttribute

Constructors

Name Summary
PeriodConverter()

Methods

Name Value Summary
Convert(Period, string, ResolutionContext) string
Performs conversion from source to destination type
Convert(string, Period, ResolutionContext) Period
Converts the specified source.

Extension Methods

See Also

  • AutoMapper.ITypeConverter`2
  • AutoMapper.ITypeConverter`2