ChainStoreWeb.SharePointContextProvider.SharePointContextProvider C# (CSharp) Method

SharePointContextProvider() static private method

Initializes the default SharePointContextProvider instance.
static private SharePointContextProvider ( ) : System
return System
        static SharePointContextProvider()
        {
            if (!TokenHelper.IsHighTrustApp())
            {
                SharePointContextProvider.current = new SharePointAcsContextProvider();
            }
            else
            {
                SharePointContextProvider.current = new SharePointHighTrustContextProvider();
            }
        }