public object this[Enum name] { get { return(CookieStateManager.GetCookieValue(name)); } set { CookieStateManager.SetCookieValue(name, Convert.ToString(value)); } }
public string GetNotNullStringValue(Enum name) { string tempStr = CookieStateManager.GetCookieValue(name); if (tempStr == null) { tempStr = string.Empty; } return(tempStr); }
public string GetStringValue(Enum name) { return(CookieStateManager.GetCookieValue(name)); }
public void RemoveAll(Enum name) { CookieStateManager.ClearAllCookie(name); }
public void Clear() { CookieStateManager.ClearAllCookie(); }
public void Add(Enum name, object value) { CookieStateManager.SetCookieValue(name, Convert.ToString(value)); }