Пример #1
0
        public OslcQueryResult(OslcQuery query, HttpResponseMessage response)
        {
            this.query    = query;
            this.response = response;

            pageNumber = 1;
        }
Пример #2
0
        private OslcQueryResult(OslcQueryResult prev)
        {
            query    = new OslcQuery(prev);
            response = query.GetResponse();

            pageNumber = prev.pageNumber + 1;
        }
Пример #3
0
        private OslcQueryResult(OslcQueryResult prev)
        {
            this.query    = new OslcQuery(prev);
            this.response = this.query.GetResponse();

            this.pageNumber = prev.pageNumber + 1;
        }
Пример #4
0
 private OslcQuery(OslcQuery previousQuery, string nextPageUrl) :
     this(previousQuery.oslcClient, previousQuery.capabilityUrl, previousQuery.pageSize)
 {
     queryUrl   = nextPageUrl;
     uriBuilder = new UriBuilder(nextPageUrl);
 }