webconstants.cs

来自「ibatis源码及帮助文档(IBatis源码+xsd+帮助)」· CS 代码 · 共 23 行

CS
23
字号


namespace NPetshop.Presentation.Core
{
	/// <summary>
	/// Many components or classes may access session or request
	/// variables. To avoid typing mistakes, we preferred to 
	/// centralize those const strings, and to rely on the compiler
	/// to check coherence.
	/// </summary>
	public class WebConstants
	{
		public const string SINGLETON_KEY = "singleton";

		public const string ACTION_SESSION_KEY = "action";
		public const string ACCOUNT_SESSION_KEY = "user";
		public const string CART_SESSION_KEY = "shoppingCart";
		public const string LIST_SESSION_KEY = "paginatedList";
		public const string ORDER_SESSION_KEY = "order";

	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?