コード例 #1
0
        /// <summary>
        /// 得到定义好的服务定义配置信息的配置节
        /// </summary>
        /// <returns></returns>
        public static WfServiceDefinitionSettings GetSection()
        {
            WfServiceDefinitionSettings result = (WfServiceDefinitionSettings)ConfigurationBroker.GetSection("wfServiceDefinitionSettings");

            if (result == null)
                result = new WfServiceDefinitionSettings();

            return result;
        }
コード例 #2
0
        /// <summary>
        /// 得到定义好的服务定义配置信息的配置节
        /// </summary>
        /// <returns></returns>
        public static WfServiceDefinitionSettings GetSection()
        {
            WfServiceDefinitionSettings result = (WfServiceDefinitionSettings)ConfigurationBroker.GetSection("wfServiceDefinitionSettings");

            if (result == null)
            {
                result = new WfServiceDefinitionSettings();
            }

            return(result);
        }