コード例 #1
0
 public TkResourceRequestSolutionRow(
     TkRequest request,
     IEnumerable <TkResourceResponse> responses,
     int rowId)
 {
     Id        = rowId;
     Request   = request;
     Responses = responses;
 }
コード例 #2
0
        public static TkResourceRequestSolutionRow CreateRow(TkRequest request)
        {
            if (request == null || !request.IsValid())
            {
                return(null);
            }

            var requestRunner = new TKResourceRequestRunner(request);
            var responses     = requestRunner.Run();

            var row = new TkResourceRequestSolutionRow(
                request,
                responses,
                -1);

            return(row);
        }
コード例 #3
0
 public TKResourceRequestRunner(TkRequest request)
 {
     Request = request;
 }