internal static XmlRpcClientSection GetXmlRpcClientSection()
        {
            string sectionPath = "argotic.net/clientSettings/xmlRpc";

            lock (PrivilegedConfigurationManager.XmlRpcSyncObject)
            {
                XmlRpcClientSection section = PrivilegedConfigurationManager.GetSection(sectionPath) as XmlRpcClientSection;
                if (section == null)
                {
                    return(null);
                }
                return(section);
            }
        }
コード例 #2
0
        internal static SyndicationResourceHandlerSection GetSyndicationHandlerSection()
        {
            string sectionPath = "argotic.web.httpHandler";

            lock (PrivilegedConfigurationManager.HandlerSyncObject)
            {
                SyndicationResourceHandlerSection section = PrivilegedConfigurationManager.GetSection(sectionPath) as SyndicationResourceHandlerSection;
                if (section == null)
                {
                    return(null);
                }
                return(section);
            }
        }
        internal static TrackbackClientSection GetTracbackClientSection()
        {
            string sectionPath = "argotic.net/clientSettings/trackback";

            lock (PrivilegedConfigurationManager.TrackbackSyncObject)
            {
                TrackbackClientSection section = PrivilegedConfigurationManager.GetSection(sectionPath) as TrackbackClientSection;
                if (section == null)
                {
                    return(null);
                }
                return(section);
            }
        }