📄 pubdatetag.cs
字号:
/*
* PubDateTag.cs @Microsoft Visual Studio 2008 <.NET Framework 2.0 (or Higher)>
* AfritXia
* 2008-02-03
*
* Copyright(c) http://www.AfritXia.NET/
*
*/
using System;
namespace Net.AfritXia.Web.RssFoundation.RssGeneric
{
/// <summary>
/// pubDate 标记
/// </summary>
public class PubDateTag : RssTagBase
{
#region 类构造器
/// <summary>
/// 类默认构造器
/// </summary>
public PubDateTag()
: base()
{
}
/// <summary>
/// 类参数构造器
/// </summary>
/// <param name="value">标记值</param>
public PubDateTag(DateTime value)
: base()
{
this.Value = value;
}
#endregion
/// <summary>
/// 获取标记名称
/// </summary>
protected override string TagName
{
get
{
return "pubDate";
}
}
/// <summary>
/// 设置或获取标记值
/// </summary>
public new DateTime Value
{
set
{
base.Value = value;
}
get
{
return (DateTime)base.Value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -