BlogEngine.Core/SyndicationGenerator.cs
(开头部分) 43KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/****************************************************************************
Modification History:
*****************************************************************************
Date Author Description
*****************************************************************************
08/29/2007 brian.kuhn Created SyndicationGenerator Class
02/12/2008 rtur.net
****************************************************************************/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Xml;
using System.Text.RegularExpressions;
using System.Web;
namespace BlogEngine.Core
{
/// <summary>
/// Generates syndication feeds for blog entities.
/// </summary>
public class SyndicationGenerator
{
//============================================================
// PUBLIC/PRIVATE/PROTECTED MEMBERS
//============================================================
#region PRIVATE/PROTECTED/PUBLIC MEMBERS
/// <summary>
/// Private member to hold the name of the syndication generation utility.
/// </summary>
private const string GENERATOR_NAME = "BlogEngine.Net Syndication Generator";
/// <summary>
/// Private member to hold the URI of the syndication generation utility.
/// </summary>
private static readonly Uri GENERATOR_URI = new Uri("http://dotnetblogengine.net/");
/// <summary>
/// Private member to hold the version of the syndication generation utility.
/// </summary>
private static readonly Version GENERATOR_VERSION = new Version("1.0.0.0");
/// <summary>
/// Private member to hold the <see cref="BlogSettings"/> to use when generating syndication results.
/// </summary>
private BlogSettings blogSettings;
/// <summary>
/// Private member to hold a collection of <see cref="Category"/> objects used to categorize the web log content.
/// </summary>
private List<Category> blogCategories;
/// <summary>
/// Private member to hold a collection of the XML namespaces that define supported syndication extensions.
/// </summary>
private static Dictionary<string, string> xmlNamespaces;
#endregion
//============================================================
// CONSTRUCTORS
//============================================================
#region SyndicationGenerator(BlogSettings settings, List<Category> categories)
/// <summary>
/// Initializes a new instance of the <see cref="SyndicationGenerator"/> class using the supplied <see cref="BlogSettings"/> and collection of <see cref="Category"/> objects.
/// </summary>
后面还有 940 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
