Esempio n. 1
0
 public BaseRequest(string requestUrl, SharePointApiClient client)
 {
     RequestUrl = requestUrl;
     _client    = client;
 }
 public SpListCollectionRequest(string requestUrl, SharePointApiClient client) : base(requestUrl, client)
 {
 }
Esempio n. 3
0
 public SpFolderRequest(string requestUrl, SharePointApiClient client) : base(requestUrl, client)
 {
 }
 public SpListCollectionRequestBuilder(string siteUrl, string relativeUrl, SharePointApiClient client) : base(siteUrl, relativeUrl, client)
 {
     this.RequestUrl = $"{this.SiteUrl}/{this.RelativeUrl}/_api/web/Lists";
 }
 public SpListItemCollectionRequestBuilder(string siteUrl, string relativeUrl, string title, SharePointApiClient client) : base(siteUrl, relativeUrl, client)
 {
     Title      = title;
     RequestUrl = $"{this.SiteUrl}/{this.RelativeUrl}/_api/web/Lists/Getbytitle('{this.Title}')/Items";
 }
 public SpListItemCollectionRequestBuilder(string requestUrl, SharePointApiClient client) : base(requestUrl, client)
 {
 }
 public SpFolderRequestBuilder(string siteUrl, string relativeUrl, SharePointApiClient client) : base(siteUrl, relativeUrl, client)
 {
     RequestUrl = $"{this.SiteUrl}/_api/web/GetFolderByServerRelativeUrl('{this.RelativeUrl}')";
 }
 public SpListItemRequestBuilder(string siteUrl, string relativeUrl, string title, int id, SharePointApiClient client) : base(siteUrl, relativeUrl, client)
 {
     Title      = title;
     Id         = id;
     RequestUrl = $"{this.SiteUrl}/{this.RelativeUrl}/_api/web/Lists/Getbytitle('{this.Title}')/Items({this.Id})";
 }
Esempio n. 9
0
 public SpListItemRequest(string requestUrl, SharePointApiClient client) : base(requestUrl, client)
 {
 }
 public SpFileRequestBuilder(string requestUrl, SharePointApiClient client) : base(requestUrl, client)
 {
 }
 public SpFileRequestBuilder(string siteUrl, string relativeUrl, string fileName, SharePointApiClient client) : base(siteUrl, relativeUrl, client)
 {
     this.FileName   = fileName;
     this.RequestUrl = $"{this.SiteUrl}/_api/web/GetFolderByServerRelativeUrl('{this.RelativeUrl}')/Files('{this.FileName}')";
 }