/// <summary> /// 调试视图 /// </summary> /// <param name="target">查看的对象</param> public DebugView(DataCollection target) { this.target = target; }
/// <summary> /// 请求Api的上下文 /// </summary> /// <param name="httpContext"></param> /// <param name="apiAction"></param> /// <param name="arguments"></param> /// <param name="properties"></param> protected ApiRequestContext(HttpContext httpContext, ApiActionDescriptor apiAction, object?[] arguments, DataCollection properties) { this.HttpContext = httpContext; this.ApiAction = apiAction; this.Arguments = arguments; this.Properties = properties; }
/// <summary> /// 请求Api的上下文 /// </summary> /// <param name="httpContext"></param> /// <param name="apiAction"></param> /// <param name="arguments"></param> /// <param name="properties"></param> /// <param name="cancellationTokens"></param> protected ApiRequestContext(HttpContext httpContext, ApiActionDescriptor apiAction, object?[] arguments, DataCollection properties, IList <CancellationToken> cancellationTokens) { this.HttpContext = httpContext; this.ApiAction = apiAction; this.Arguments = arguments; this.Properties = properties; this.CancellationTokens = cancellationTokens; }