?? functioninfo.cs
字號:
using System;
using System.Collections.Generic;
using System.Text;
namespace ProgramCalculator
{
public class FunctionInfo
{
private string name = "";
private string relativePathOfCodeFile = "";
private string explainInfo = "";
/// <summary>
/// 獲取或設置函數名稱
/// </summary>
public string Name
{
get
{
return this.name;
}
set
{
this.name = value;
}
}
/// <summary>
/// 代碼文件的 相對 路徑,如要使用絕對路徑請在前面加上Function.DirectoryOfFunctions
/// </summary>
public string RelativePathOfCodeFile
{
get
{
return this.relativePathOfCodeFile;
}
set
{
this.relativePathOfCodeFile = value;
}
}
/// <summary>
/// 獲取或設置其說明性信息
/// </summary>
public string ExplainInfo
{
get
{
return this.explainInfo;
}
set
{
this.explainInfo = value;
}
}
public FunctionInfo()
{
this.name = "";
this.relativePathOfCodeFile = "";
this.explainInfo = "";
}
/// <summary>
/// 構造函數
/// </summary>
/// <param name="name">函數名稱</param>
/// <param name="pathOfCodeFile">代碼文件路徑,重要: 請一定使用相對路徑</param>
/// <param name="explainInfo">該函數的附加說明信息</param>
public FunctionInfo(string name, string pathOfCodeFile, string explainInfo)
{
this.name = name;
this.relativePathOfCodeFile = pathOfCodeFile;
if (string.IsNullOrEmpty(explainInfo))
{
this.explainInfo = name;
}
else
{
this.explainInfo = explainInfo;
}
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -