LocalTimeConverter Class

Summary

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

Syntax

public class LocalTimeConverter : ITypeConverter<LocalTime, TimeSpan>, 
    ITypeConverter<Nullable<LocalTime>, Nullable<TimeSpan>>, ITypeConverter<TimeSpan, LocalTime>, 
    ITypeConverter<Nullable<TimeSpan>, Nullable<LocalTime>>, ITypeConverter<LocalTime, DateTime>, 
    ITypeConverter<Nullable<LocalTime>, Nullable<DateTime>>, ITypeConverter<DateTime, LocalTime>, 
    ITypeConverter<Nullable<DateTime>, Nullable<LocalTime>>

Attributes

Type Description
PublicAPIAttribute

Constructors

Name Summary
LocalTimeConverter()

Methods

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

Extension Methods

See Also

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