📄 globalobject.cs
字号:
using System;
namespace DS.EMIS.StartPrepare.Common
{
/// <summary>
/// GlobalObject 的摘要说明。
/// </summary>
public sealed class GlobalObject
{
#region singleton implement
private static readonly GlobalObject instance = new GlobalObject();
public static GlobalObject Instance
{
get
{
return instance;
}
}
#endregion
#region co
public GlobalObject()
{
//
// TODO: 在此处添加构造函数逻辑
//
if(this.commonSession == null)
this.commonSession = new CommonSession("QAZXSW");
}
#endregion
#region Property
private CommonSession commonSession = null;
public CommonSession LocalSession
{
get
{
return this.commonSession;
}
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -