MarkItUp.SingleUserBlog/Common/BlogConfigurationSettings.cs
(开头部分) 8KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Configuration;
using System.IO;
using System.Xml;
using System.Web;
namespace MarkItUp.SingleUserBlog.Common {
/// <summary>
/// This class allows you to retrieve and store values in the /App_Data/BlogConfiguration.xml file.
/// </summary>
public static class BlogConfigurationSettings {
private const string _pathToConfigFile = "~/App_Data/BlogConfiguration.xml";
/// <summary>
/// Gets or sets the fully qualified class name of the data provider that is in use.
/// </summary>
public static string DataAccessType {
get {
return GetString("DataAccessType", "MarkItUp.SingleUserBlog.Services.FileSystemBlogDataProvider");
}
set {
SetString("DataAccessType", value);
}
}
/// <summary>
/// Gets or sets the TimeZone that all outgoing dates should be displayed in. Dates and times in SingleUserBlog are stored as UTC times,
/// but should always be converted to the clients TimeZone on the way out.
/// </summary>
public static string TimeZoneName {
get {
return GetString("TimeZoneName", "AUS Eastern Standard Time");
}
set {
SetString("TimeZoneName", value);
}
}
/// <summary>
/// Gets or sets the title of this blog.
/// </summary>
public static string BlogTitle {
get {
return GetString("BlogTitle", "Blog Title");
}
set {
SetString("BlogTitle", value);
}
}
/// <summary>
/// Gets or sets the sub-title of this blog. Please do not use the word "rant" in this field, as it has to be the most
/// annoying word to describe a blog.
/// </summary>
public static string BlogSubTitle {
get {
return GetString("BlogSubTitle", "Blog Sub-Title");
}
set {
SetString("BlogSubTitle", value);
后面还有 200 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
