コード例 #1
0
ファイル: AppContext.cs プロジェクト: modulexcite/dropthings
 public AppContext(HttpContext httpContext, string currentUserId, string currentUserName) : this(currentUserId, currentUserName)
 {
     this._SessionWrapper = new SessionWrapper(httpContext.Session);
     this._Items = httpContext.Items;
     this._Application = httpContext.Application;
     httpContext.Items[HTTP_CONTEXT_KEY] = this;
 }
コード例 #2
0
 public AppContext(HttpContext httpContext, string currentUserId, string currentUserName) : this(currentUserId, currentUserName)
 {
     this._SessionWrapper = new SessionWrapper(httpContext.Session);
     this._Items          = httpContext.Items;
     this._Application    = httpContext.Application;
     httpContext.Items[HTTP_CONTEXT_KEY] = this;
 }
コード例 #3
0
ファイル: AppContext.cs プロジェクト: modulexcite/dropthings
 public AppContext(string currentUserId, string currentUserName)
 {
     _Context = this;
     this._SessionWrapper = new SessionWrapper();
     this._Items = new Dictionary<string, object>();
     this._Application = new NameObjectCollection();
     CurrentUserId = currentUserId;
     CurrentUserName = currentUserName;
 }
コード例 #4
0
 public AppContext(string currentUserId, string currentUserName)
 {
     _Context             = this;
     this._SessionWrapper = new SessionWrapper();
     this._Items          = new Dictionary <string, object>();
     this._Application    = new NameObjectCollection();
     CurrentUserId        = currentUserId;
     CurrentUserName      = currentUserName;
 }