public TkResourceRequestSolutionRow(
     TkRequest request,
     IEnumerable <TkResourceResponse> responses,
     int rowId)
 {
     Id        = rowId;
     Request   = request;
     Responses = responses;
 }
        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);
        }
Beispiel #3
0
 public TKResourceRequestRunner(TkRequest request)
 {
     Request = request;
 }