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.
|
|
using System; using System.Collections.Generic; using System.Text;
namespace Apewer.Web {
/// <summary>类型 <see cref="ApiAction"/> 的实例转为 <see cref="Json"/> 时的格式。</summary>
[Serializable] public sealed class ApiActionJsonFormat {
/// <summary>默认格式。</summary>
public static ApiActionJsonFormat Default { get; set; }
/// <summary>包含参数。</summary>
/// <value>TRUE(默认值)</value>
public bool WithParameters { get; set; }
/// <summary>包含反射信息。</summary>
/// <value>TRUE(默认值)</value>
public bool WithReflection { get; set; }
/// <summary>创建 <see cref="ApiActionJsonFormat"/> 的实例。</summary>
public ApiActionJsonFormat() { WithParameters = true; WithReflection = true; }
}
}
|