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

<PackageReference Include="Riok.Mapperly" Version="2.7.1-next.1" />

 MapPropertyAttribute

public sealed class MapPropertyAttribute : Attribute
Specifies options for a property mapping.
public IReadOnlyCollection<string> Source { get; }

Gets the name of the source property.

public string SourceFullName { get; }

Gets the full name of the source property path.

public IReadOnlyCollection<string> Target { get; }

Gets the name of the target property.

public string TargetFullName { get; }

Gets the full name of the target property path.

public MapPropertyAttribute(string source, string target)

Maps a specified source property to the specified target property.

public MapPropertyAttribute(string[] source, string[] target)

Maps a specified source property to the specified target property.