ASPC.Marvel.CrimeAPI.SharePointContextProvider.SharePointContextProvider C# (CSharp) Méthode

SharePointContextProvider() static private méthode

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