private SiteInfoResult ExecuteWithProperty(SiteInfoProperties properties) { var query = new SiteInfoMetaQuery { Properties = properties }; var result = _client.Query(query); return(SiteInfoMetaQuery.ExtractResults(result)); }
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)); }