21 lines
492 B

2 years ago
using System;
namespace CK.SCP.Models.Attributes
{
/// <summary>
/// Converter属性
/// </summary>
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public class ConverterAttribute : Attribute
{
public ConverterAttribute(Type converterType)
{
ConverterType = converterType;
}
/// <summary>
/// Converter类型
/// </summary>
public Type ConverterType { get; }
}
}