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;
}
}
}