Riok.Mapperly.Abstractions
Namespace with 29 public types
Classes
FormatProviderAttribute
MapDerivedTypeAttribute
Specifies derived type mappings for which a mapping should be generated.
A type switch is implemented over the source object and the provided source types.
Each source type has to be unique but multiple source types can be mapped to the same target type.
Each source type needs to extend or implement the parameter type of the mapping method.
Each target type needs to extend or implement the return type of the mapping method.
MapDerivedTypeAttribute`2
Specifies derived type mappings for which a mapping should be generated.
A type switch is implemented over the source object and the provided source types.
Each source type has to be unique but multiple source types can be mapped to the same target type.
Each source type needs to extend or implement the parameter type of the mapping method.
Each target type needs to extend or implement the return type of the mapping method.
MapEnumAttribute
Customizes how enums are mapped.
MapEnumValueAttribute
Customizes how enum values are mapped
MapNestedPropertiesAttribute
Maps all properties from a nested path on the source to the root of the target.
MapperAttribute
Marks a partial class as a mapper.
MapperConstructorAttribute
Marks the constructor to be used when type gets activated by Mapperly.
MapperDefaultsAttribute
Used to set mapper default values in the assembly.
MapperIgnoreAttribute
Ignores a member from the mapping.
MapperIgnoreObsoleteMembersAttribute
Specifies options for obsolete ignoring strategy.
MapperIgnoreSourceAttribute
Ignores a source property from the mapping.
MapperIgnoreSourceValueAttribute
Ignores a source enum value from the mapping.
MapperIgnoreTargetAttribute
Ignores a target property from the mapping.
MapperIgnoreTargetValueAttribute
Ignores a target enum value from the mapping.
MapperRequiredMappingAttribute
Defines the strategy used when emitting warnings for unmapped members.
MapPropertyAttribute
Specifies options for a property mapping.
MapPropertyFromSourceAttribute
Maps a property from the source object.
ObjectFactoryAttribute
Marks a method as an object factory.
An object factory can be used to instantiate or resolve target objects.
An object factory method needs to be a method with a non-void return type.
It can be generic with constraints and can have one or none parameters.
If the object factory has a parameter, the source object is provided as an argument.
UseMapperAttribute
Considers all accessible mapping methods provided by the type of this member.
Includes static and instance methods.
UserMappingAttribute
A given method is marked as user implemented mapping with this attribute.
If is true,
this attribute allows to ignore a user implemented mapping method.
UseStaticMapperAttribute
Considers all static mapping methods provided by the type.
UseStaticMapperAttribute`1
Considers all static mapping methods provided by the generic type.
Enumerations
EnumMappingStrategy
Defines the strategy to use when mapping an enum to another enum.
IgnoreObsoleteMembersStrategy
Defines the strategy to use when mapping members marked with .
Note that will always map marked members,
even if they are ignored.
MappingConversionType
A represents a type of conversion
how one type can be converted into another.
MemberVisibility
Determines what member accessibility Mapperly will attempt to map.
PropertyNameMappingStrategy
Defines the strategy to use when mapping a property to another property.
RequiredMappingStrategy
Defines the strategy used when emitting warnings for unmapped members.