OffsetDateTimeConverter Class

Summary

OffsetDateTimeConverter. Implements the AutoMapper.ITypeConverter`2 Implements the AutoMapper.ITypeConverter`2
Assembly
Rocket.Surgery.Extensions.AutoMapper.dll
Namespace
Rocket.Surgery.Extensions.AutoMapper.Converters
Interfaces
  • ITypeConverter<OffsetDateTime, DateTimeOffset>
  • ITypeConverter<Nullable<OffsetDateTime>, Nullable<DateTimeOffset>>
  • ITypeConverter<DateTimeOffset, OffsetDateTime>
  • ITypeConverter<Nullable<DateTimeOffset>, Nullable<OffsetDateTime>>
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["ITypeConverter<OffsetDateTime, DateTimeOffset>"] Type-.->Interface1["ITypeConverter<Nullable<OffsetDateTime>, Nullable<DateTimeOffset>>"] Type-.->Interface2["ITypeConverter<DateTimeOffset, OffsetDateTime>"] Type-.->Interface3["ITypeConverter<Nullable<DateTimeOffset>, Nullable<OffsetDateTime>>"] Type["OffsetDateTimeConverter"] class Type type-node

Syntax

public class OffsetDateTimeConverter : ITypeConverter<OffsetDateTime, DateTimeOffset>, 
    ITypeConverter<Nullable<OffsetDateTime>, Nullable<DateTimeOffset>>, 
    ITypeConverter<DateTimeOffset, OffsetDateTime>, 
    ITypeConverter<Nullable<DateTimeOffset>, Nullable<OffsetDateTime>>

Attributes

Type Description
PublicAPIAttribute

Constructors

Methods

Name Value Summary
Convert(DateTimeOffset, OffsetDateTime, ResolutionContext) OffsetDateTime
Performs conversion from source to destination type
Convert(Nullable<DateTimeOffset>, Nullable<OffsetDateTime>, ResolutionContext) Nullable<OffsetDateTime>
Performs conversion from source to destination type
Convert(Nullable<OffsetDateTime>, Nullable<DateTimeOffset>, ResolutionContext) Nullable<DateTimeOffset>
Performs conversion from source to destination type
Convert(OffsetDateTime, DateTimeOffset, ResolutionContext) DateTimeOffset
Performs conversion from source to destination type

Extension Methods

See Also

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