BlogEngine.Core/Page.cs

(开头部分) 8KB

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

#region Using

using System;
using System.Web;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Xml;
using BlogEngine.Core.Providers;

#endregion

namespace BlogEngine.Core
{
	/// <summary>
	/// A page is much like a post, but is not part of the
	/// blog chronology and is more static in nature.
	/// <remarks>
	/// Pages can be used for "About" pages or other static
	/// information.
	/// </remarks>
	/// </summary>
	public sealed class Page : BusinessBase<Page, Guid>, IPublishable
	{

		#region Constructor

		/// <summary>
		/// The contructor sets default values.
		/// </summary>
		public Page()
		{
			base.Id = Guid.NewGuid();
			DateCreated = DateTime.Now;
		}

		#endregion

		#region Properties

		private string _Title;
		/// <summary>
		/// Gets or sets the Title or the object.
		/// </summary>
		public string Title
		{
			get { return _Title; }
			set
			{
				if (_Title != value) MarkChanged("Title");
				_Title = value;
			}
		}

		private string _Content;
		/// <summary>
		/// Gets or sets the Description or the object.
		/// </summary>
		public string Content
		{
后面还有 350 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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