NetAdmin/src/backend/NetAdmin.Host/Attributes/RemoveNullNodeAttribute.cs

7 lines
247 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace NetAdmin.Host.Attributes;
/// <summary>
/// 标记一个Action其响应的json结果会被删除值为null的节点
/// </summary>
[AttributeUsage(AttributeTargets.Method)]
public sealed class RemoveNullNodeAttribute : Attribute;