/// <summary> /// Initializes a new instance of the <see cref="BaseSessionService"/> class. /// </summary> /// <param name="httpSessionDictionary">The HTTP session dictionary.</param> public BaseSessionService(IDictionary <string, object> httpSessionDictionary) { this.source = new DictionarySessionServiceSource(httpSessionDictionary); }
/// <summary> /// Initializes an instance with a HttpSessionStateBase object (likely from ASP MVC). /// </summary> /// <param name="httpSessionStateBase"></param> public BaseSessionService(HttpSessionStateBase httpSessionStateBase) { this.source = new HttpBaseSessionServiceSource(httpSessionStateBase); }