Esempio n. 1
0
        public static bool?GetPrivacyLinkDisplayEnabled(OrganizationId organizationId)
        {
            if (organizationId == OrganizationId.ForestWideOrgId)
            {
                return(new bool?(true));
            }
            bool?result = null;

            HelpProviderCache.Item item = HelpProviderCache.Instance.Get(organizationId);
            if (item != null)
            {
                result = item.PrivacyLinkDisplayEnabled;
            }
            return(result);
        }
Esempio n. 2
0
        public static Uri GetCommunityUrl(OrganizationId organizationId)
        {
            if (organizationId == OrganizationId.ForestWideOrgId)
            {
                return(HelpProvider.communityUrl);
            }
            Uri result = null;

            HelpProviderCache.Item item = HelpProviderCache.Instance.Get(organizationId);
            if (item != null)
            {
                result = item.CommunityUrl;
            }
            return(result);
        }
Esempio n. 3
0
        public static Uri GetPrivacyStatementUrl(OrganizationId organizationId)
        {
            if (organizationId == OrganizationId.ForestWideOrgId)
            {
                return(HelpProvider.privacyStatementUrl);
            }
            Uri result = null;

            HelpProviderCache.Item item = HelpProviderCache.Instance.Get(organizationId);
            if (item != null)
            {
                result = item.PrivacyStatementUrl;
            }
            return(result);
        }