localpageinfo.cs
来自「YetAnotherForum.Net+ScrewTurnWiki中文完美汉化增」· CS 代码 · 共 41 行
CS
41 行
using System;
using System.Collections.Generic;
using System.Text;
using ScrewTurn.Wiki.PluginFramework;
namespace ScrewTurn.Wiki {
/// <summary>
/// Represents a Local Page.
/// </summary>
[Serializable]
public class LocalPageInfo : PageInfo {
private string file;
/// <summary>
/// Initializes a new instance of the <b>PageInfo</b> class.
/// </summary>
/// <param name="name">The Name of the Page.</param>
/// <param name="provider">The Pages Storage Provider that manages this Page.</param>
/// <param name="status">The Status of the Page.</param>
/// <param name="creationDateTime">The creation Date/Time.</param>
/// <param name="file">The file where the Page is stored.</param>
public LocalPageInfo(string name, IPagesStorageProvider provider, PageStatus status, DateTime creationDateTime, string file)
: base(name, provider, status, creationDateTime) {
this.file = file;
}
/// <summary>
/// Gets or sets the File.
/// </summary>
public string File {
get { return file; }
set { file = value; }
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?