Exemplo n.º 1
0
 /// <summary>
 /// 调试视图
 /// </summary>
 /// <param name="target">查看的对象</param>
 public DebugView(DataCollection target)
 {
     this.target = target;
 }
Exemplo n.º 2
0
 /// <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;
 }
Exemplo n.º 3
0
        /// <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;
        }