您目前尚未登陆,请选择【登陆】或【注册
首页->博客论坛->LiveBlog v1.0测试版源码>>LiveBlog.Core/Providers/BlogProviderSection.cs>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:LiveBlog v1.0测试版源码
当前文件:文件类型 LiveBlog/LiveBlog.Core/Providers/BlogProviderSection.cs打开代码结构图
普通视图
		            
1using System; 2using System.Collections.Generic; 3using System.Configuration; 4 5namespace LiveBlog.Core.Providers 6{ 7 /// <summary> 8 /// A configuration section for web.config. 9 /// </summary> 10 /// <remarks> 11 /// In the config section you can specify the provider you 12 /// want to use for BlogEngine.NET. 13 /// </remarks> 14 public class BlogProviderSection : ConfigurationSection 15 { 16 17 /// <summary> 18 /// A collection of registered providers. 19 /// </summary> 20 [ConfigurationProperty("providers")] 21 public ProviderSettingsCollection Providers 22 { 23 get { return (ProviderSettingsCollection)base["providers"]; } 24 } 25 26 /// <summary> 27 /// The name of the default provider 28 /// </summary> 29 [StringValidator(MinLength = 1)] 30 [ConfigurationProperty("defaultProvider", DefaultValue = "XmlBlogProvider")] 31 public string DefaultProvider 32 { 33 get { return (string)base["defaultProvider"]; } 34 set { base["defaultProvider"] = value; } 35 } 36 37 } 38} 39
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:LiveBlog v1.0测试版源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号