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

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

 MapperIgnoreSourceAttribute

Ignores a source property from the mapping.
using System; using System.Runtime.CompilerServices; namespace Riok.Mapperly.Abstractions { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] public class MapperIgnoreSourceAttribute : Attribute { public string Source { get; } public MapperIgnoreSourceAttribute(string source) { Source = source; } } }