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 < Offset Date Time> , Nullable < Date Time Offset> > - ITypeConverter
<DateTimeOffset, OffsetDateTime> - ITypeConverter
<Nullable < Date Time Offset> , Nullable < Offset Date Time> >
- ITypeConverter
- 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
Name | Summary |
---|---|
Offset |
Methods
Name | Value | Summary |
---|---|---|
Convert |
OffsetDateTime |
Performs conversion from source to destination type
|
Convert |
Nullable |
Performs conversion from source to destination type
|
Convert |
Nullable |
Performs conversion from source to destination type
|
Convert |
DateTimeOffset |
Performs conversion from source to destination type
|
Extension Methods
Name | Value | Summary |
---|---|---|
SetBackingValue |
T |
Sets the backing value.
From ValueExtensions
|
With |
TBuilder |
Adds the specified dictionary to the provided dictionary.
|
See Also
- AutoMapper.ITypeConverter`2
- AutoMapper.ITypeConverter`2