Esempio n. 1
0
        private SiteInfoResult ExecuteWithProperty(SiteInfoProperties properties)
        {
            var query = new SiteInfoMetaQuery {
                Properties = properties
            };

            var result = _client.Query(query);

            return(SiteInfoMetaQuery.ExtractResults(result));
        }
Esempio n. 2
0
        private UserInfoMeta ExecuteWithProperty(UserInfoProperties?properties)
        {
            var query = new UserInfoMetaQuery();

            if (properties.HasValue)
            {
                query.Properties = properties.Value;
            }

            var result = _client.Query(query);

            return(UserInfoMetaQuery.ExtractResults(result));
        }
        private PageList ExecuteQuery(AllPagesListQuery query)
        {
            var result = _client.Query(query);

            return(AllPagesListQuery.ExtractResults(result));
        }