Riok.Mapperly by Mapperly Contributors, Lars Tönz, Manuel Allenspach

<PackageReference Include="Riok.Mapperly" Version="3.4.0-next.4" />

 EnumMappingStrategy

public enum EnumMappingStrategy
Defines the strategy to use when mapping an enum to another enum.
ByName = 1

Matches enum members by their names.

ByValue = 0

Matches enum members by their values.

Matches enum members by their values. Checks if the value is defined in the enum.