BlogEngine.Core/BlogSettings.cs

(开头部分) 44KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

#region Using

using System;
using System.ComponentModel;
using System.Configuration;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Web;

#endregion

namespace BlogEngine.Core
{
	/// <summary>
	/// Represents the configured settings for the blog engine.
	/// </summary>
	public class BlogSettings
	{
		//============================================================
		//	PUBLIC/PRIVATE/PROTECTED MEMBERS
		//============================================================
		#region PRIVATE/PROTECTED/PUBLIC MEMBERS
		/// <summary>
		/// Public event used to indicate in settings have been changed.
		/// </summary>
		public static event EventHandler<EventArgs> Changed;
		/// <summary>
		/// Private member to hold singleton instance.
		/// </summary>
		private static BlogSettings blogSettingsSingleton;
		/// <summary>
		/// Private member to hold the title of the blog.
		/// </summary>
		private string blogName = String.Empty;
		/// <summary>
		/// Private member to hold a brief synopsis of the blog.
		/// </summary>
		private string blogDescription = String.Empty;
		/// <summary>
		/// Private member to hold the default number of posts per day to display.
		/// </summary>
		private int postsPerPage = Int32.MinValue;
		/// <summary>
		/// Private member to hold blog storage location.
		/// </summary>
		private string storageLocation = String.Empty;
		/// <summary>
		/// Private member to hold maximum number of characters that are displayed from a blog-roll retrieved post.
		/// </summary>
		private int blogrollMaxLength = Int32.MinValue;
		/// <summary>
		/// Private member to hold the number of minutes blog-roll entries are updated.
		/// </summary>
		private int blogrollUpdateMinutes = Int32.MinValue;
		/// <summary>
		/// Private member to hold the maximum number of blog-roll posts per blog-roll to display.
		/// </summary>
		private int blogrollVisiblePosts = Int32.MinValue;
		/// <summary>
后面还有 1746 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。