componentinformation.cs
来自「YetAnotherForum.Net+ScrewTurnWiki中文完美汉化增」· CS 代码 · 共 63 行
CS
63 行
using System;
using System.Collections.Generic;
using System.Text;
namespace ScrewTurn.Wiki.PluginFramework {
/// <summary>
/// Contains information about a Provider.
/// </summary>
[Serializable]
public class ComponentInformation {
/// <summary>
/// The Name of the Component.
/// </summary>
protected string name;
/// <summary>
/// The Author of the Component.
/// </summary>
protected string author;
/// <summary>
/// The URL of the Component.
/// </summary>
protected string url;
/// <summary>
/// Initializes a new instance of the <b>ComponentInformation</b> class.
/// </summary>
/// <param name="name">The Name of the Component.</param>
/// <param name="author">The Author of the Component.</param>
/// <param name="url">The URL of the Component.</param>
public ComponentInformation(string name, string author, string url) {
this.name = name;
this.author = author;
this.url = url;
}
/// <summary>
/// Gets the Name of the Component.
/// </summary>
public string Name {
get { return name; }
}
/// <summary>
/// Gets the Author of the Component.
/// </summary>
public string Author {
get { return author; }
}
/// <summary>
/// Gets the URL of the Component.
/// </summary>
public string Url {
get { return url; }
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?