C# Class UdcxRemediation.Console.SharePointAcsContextProvider

Default provider for SharePointAcsContext.
Inheritance: SharePointContextProvider
Mostrar archivo Open project: OfficeDev/PnP-Transformation

Protected Methods

Method Description
CreateSharePointContext ( Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber, System.Web.HttpRequestBase httpRequest ) : SharePointContext
LoadSharePointContext ( System.Web.HttpContextBase httpContext ) : SharePointContext
SaveSharePointContext ( SharePointContext spContext, System.Web.HttpContextBase httpContext ) : void
ValidateSharePointContext ( SharePointContext spContext, System.Web.HttpContextBase httpContext ) : bool

Method Details

CreateSharePointContext() protected method

protected CreateSharePointContext ( Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber, System.Web.HttpRequestBase httpRequest ) : SharePointContext
spHostUrl System.Uri
spAppWebUrl System.Uri
spLanguage string
spClientTag string
spProductNumber string
httpRequest System.Web.HttpRequestBase
return SharePointContext

LoadSharePointContext() protected method

protected LoadSharePointContext ( System.Web.HttpContextBase httpContext ) : SharePointContext
httpContext System.Web.HttpContextBase
return SharePointContext

SaveSharePointContext() protected method

protected SaveSharePointContext ( SharePointContext spContext, System.Web.HttpContextBase httpContext ) : void
spContext SharePointContext
httpContext System.Web.HttpContextBase
return void

ValidateSharePointContext() protected method

protected ValidateSharePointContext ( SharePointContext spContext, System.Web.HttpContextBase httpContext ) : bool
spContext SharePointContext
httpContext System.Web.HttpContextBase
return bool