Summary
OffsetConverter.
Implements the
AutoMapper.ITypeConverter`2
Implements the AutoMapper.ITypeConverter`2
- Assembly
- Rocket
.Surgery .Extensions .AutoMapper .dll - Namespace
- Rocket
.Surgery .Extensions .AutoMapper .Converters - Interfaces
-
- ITypeConverter
<Offset, TimeSpan> - ITypeConverter
<Nullable <Offset> , Nullable <TimeSpan> > - ITypeConverter
<TimeSpan, Offset> - ITypeConverter
<Nullable <TimeSpan> , Nullable <Offset> >
- ITypeConverter
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["ITypeConverter<Offset, TimeSpan>"]
Type-.->Interface1["ITypeConverter<Nullable<Offset>, Nullable<TimeSpan>>"]
Type-.->Interface2["ITypeConverter<TimeSpan, Offset>"]
Type-.->Interface3["ITypeConverter<Nullable<TimeSpan>, Nullable<Offset>>"]
Type["OffsetConverter"]
class Type type-node
Syntax
public class OffsetConverter : ITypeConverter<Offset, TimeSpan>,
ITypeConverter<Nullable<Offset>, Nullable<TimeSpan>>, ITypeConverter<TimeSpan, Offset>,
ITypeConverter<Nullable<TimeSpan>, Nullable<Offset>>
Attributes
Type | Description |
---|---|
PublicAPIAttribute |
Constructors
Name | Summary |
---|---|
OffsetConverter |
Methods
Name | Value | Summary |
---|---|---|
Convert |
Nullable |
Performs conversion from source to destination type
|
Convert |
Nullable |
Performs conversion from source to destination type
|
Convert |
TimeSpan |
Performs conversion from source to destination type
|
Convert |
Offset |
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