using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CommonLang.Net { public interface AbstractSession { /// /// 获取属性 /// /// /// object GetAttribute(string key); /// /// 设置属性 /// /// /// /// void SetAttribute(string key, object value); /// /// 移除属性 /// /// /// void RemoveAttribute(string key); /// /// 是否包含属性 /// /// /// bool ContainsAttribute(string key); /// /// 遍历属性列表 /// /// ICollection GetAttributeKeys(); } }