CPF/CPF.Windows/Json/Attribute/IgnoreAttribute.cs
2023-11-21 23:05:03 +08:00

14 lines
368 B
C#

using System;
namespace CPF.Windows.Json
{
/// <summary>
/// 被标记的元素,在序列化或反序列化时时将被忽略
/// Marked elements are ignored when serialized or deserialized
/// </summary>
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
public class IgnoreKeyAttribute : Attribute
{
}
}