You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
492 B

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