using System; using System.Collections.Generic; using System.Text; namespace Apewer.Web { /// 类型 的实例转为 时的格式。 [Serializable] public sealed class ApiActionJsonFormat { /// 默认格式。 public static ApiActionJsonFormat Default { get; set; } /// 包含参数。 /// TRUE(默认值) public bool WithParameters { get; set; } /// 包含反射信息。 /// TRUE(默认值) public bool WithReflection { get; set; } /// 创建 的实例。 public ApiActionJsonFormat() { WithParameters = true; WithReflection = true; } } }