using System; namespace AutoMapPropertyHelper { [AttributeUsage(AttributeTargets.Property, AllowMultiple = true, Inherited = true)] public class AutoMapPropertyAttribute : System.Attribute { /// /// Overrides the top-level nullability of the generated property after selecting its type. /// Collection element and generic argument nullability are unchanged. /// public AutoMapNullability Nullability { get; set; } = AutoMapNullability.Preserve; public AutoMapPropertyAttribute(string name) { } public AutoMapPropertyAttribute(string name, Type? typeName) { } public AutoMapPropertyAttribute(string name, Type? typeName, string? customTo) { } public AutoMapPropertyAttribute(string name, Type? typeName, string? customTo, string? customFrom) { } } }