?? result.cs
字號:
using System;
using System.Collections ; // ArrayList
namespace WebApplication1
{
/// <summary>
///
/// </summary>
public class result
{
public result()
{
//
// TODO: 在此處添加構造函數邏輯
//
}
private string _label="";
private string _message="";
private ArrayList _links= new ArrayList();
private bool _isCompleted =false;
private DateTime _started;
private DateTime _done;
public string label
{
get{ return _label;}
}
public string message
{
get{ return _message;}
set { _message=value;}
}
public ArrayList links
{
get{ return _links;}
}
public bool isCompleted
{
get{ return _isCompleted;}
set
{
_isCompleted=value;
_done=DateTime.Now;
}
}
public TimeSpan timeSpent
{
get{ return _done.Subtract(_started);}
}
public result(string pLabel)
{
_started=DateTime.Now;
_label=pLabel;
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -