22 lines
611 B
C#
22 lines
611 B
C#
using System;
|
|
|
|
namespace AutoMapPropertyHelper
|
|
{
|
|
[AttributeUsage(AttributeTargets.Property, AllowMultiple = true, Inherited = true)]
|
|
public class AutoMapPropertyAttribute : System.Attribute
|
|
{
|
|
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)
|
|
{
|
|
}
|
|
}
|
|
}
|