在研究微软start kit的BlogEngine.Net,发现有俩个XmlBlogProvider类,但我查找,却只能找到一个
setting.csnamespace BlogEngine.Core.Providers
{
/// <summary>
/// A storage provider for BlogEngine that uses XML files.
/// <res>
/// To build another provider, you can just copy and modify
/// this one. Then add it to the web.config's BlogEngine section.
/// </res>
/// </summary>
public partial class XmlBlogProvider : BlogProvider
{
}}Categories.csnamespace BlogEngine.Core.Providers
{
/// <summary>
/// A storage provider for BlogEngine that uses XML files.
/// <res>
/// To build another provider, you can just copy and modify
/// this one. Then add it to the web.config's BlogEngine section.
/// </res>
/// </summary>
public partial class XmlBlogProvider : BlogProvider
{
}
}俩个类的命名空间,类名都一样,为什么不报错?
发现查找的时候只能找到Categories.cs里的XmlBlogProvider
请各位指教
setting.csnamespace BlogEngine.Core.Providers
{
/// <summary>
/// A storage provider for BlogEngine that uses XML files.
/// <res>
/// To build another provider, you can just copy and modify
/// this one. Then add it to the web.config's BlogEngine section.
/// </res>
/// </summary>
public partial class XmlBlogProvider : BlogProvider
{
}}Categories.csnamespace BlogEngine.Core.Providers
{
/// <summary>
/// A storage provider for BlogEngine that uses XML files.
/// <res>
/// To build another provider, you can just copy and modify
/// this one. Then add it to the web.config's BlogEngine section.
/// </res>
/// </summary>
public partial class XmlBlogProvider : BlogProvider
{
}
}俩个类的命名空间,类名都一样,为什么不报错?
发现查找的时候只能找到Categories.cs里的XmlBlogProvider
请各位指教
解决方案 »
- js怎么取到updatepanel中控件对象
- VS2010的智能代码提示和注解都是英文的?
- 怎么把 sql语句查询的值赋给变量
- 这个正则表达式能否起到过滤脚本的作用?????再现等
- 动态生成HTML的问题
- 关于Session/超时的问题.除了改Web.config还有别的办法吗?进来帮帮,,问题解决了,小弟不会小气的.有分....
- 动态生成的页面在保存数据的时候遇到问题了!
- 水晶报表多表查询问题
- 如何用两个DropDownList,做关联性数据选取??
- 见到一例子,但没有代码,不清楚如何实现,望高手指教……
- 应用程序中的服务器错误
- 求教:CuteEditor 文本编辑器 插入样板,样板中的<script></script>不会被插入,是不支持还是要配置什么属性?
partial
分部类型定义允许将类、结构或接口的定义拆分到多个文件中。
编译时会编译成一个类