LocalDateTimeConverter Class

Summary

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

Syntax

public class LocalDateTimeConverter : ITypeConverter<LocalDateTime, DateTime>, 
    ITypeConverter<Nullable<LocalDateTime>, Nullable<DateTime>>, 
    ITypeConverter<DateTime, LocalDateTime>, 
    ITypeConverter<Nullable<DateTime>, Nullable<LocalDateTime>>

Constructors

Methods

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

Extension Methods

See Also

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