public Task<byte[]> GetFileAsync( ADAL.Endpoint endPoint, SharePointEndpoint sharePointEndpoint, string siteName, string fileUrl) { Endpoint = endPoint; SharePointEndpoint = sharePointEndpoint; return GetFileAsync(siteName, fileUrl); }
public Task<T> GetListItemsAsync<T>( ADAL.Endpoint endPoint, SharePointEndpoint sharePointEndPoint, string list, string query) { Endpoint = endPoint; SharePointEndpoint = sharePointEndPoint; return GetListItemsAsync<T>(list, query); }
public Task<byte[]> GetFileAsync( ADAL.Endpoint endPoint, string siteUrl, string apiVersion, string rootSiteUrl, string rootSiteId, string siteName, string fileUrl) { Endpoint = endPoint; SharePointEndpoint = new SharePointEndpoint { SiteUrl = siteUrl, ApiVersion = apiVersion, RootSiteUrl = rootSiteUrl, RootSiteId = new Guid(rootSiteId) }; return GetFileAsync(siteName, fileUrl); }
public Task<T> GetListItemsAsync<T>( ADAL.Endpoint endPoint, string siteUrl, string apiVersion, string rootSiteUrl, string rootSiteId, string list, string query) { Endpoint = endPoint; SharePointEndpoint = new SharePointEndpoint { SiteUrl = siteUrl, ApiVersion = apiVersion, RootSiteUrl = rootSiteUrl, RootSiteId = new Guid(rootSiteId) }; return GetListItemsAsync<T>(list, query); }