コード例 #1
0
ファイル: ViewContext.cs プロジェクト: aooshi/asmarty
 public ViewContext(ViewEngine viewEngine)
 {
     this._viewEngine    = viewEngine;
     this._configuration = viewEngine.ViewConfiguration;
     this._viewData      = new Dictionary <string, object>();
     this._viewModel     = null;
 }
コード例 #2
0
ファイル: ViewContext.cs プロジェクト: aooshi/asmarty
 public ViewContext(ViewEngine viewEngine, object viewModel, IDictionary <string, object> viewData)
 {
     this._viewEngine    = viewEngine;
     this._configuration = viewEngine.ViewConfiguration;
     this._viewData      = viewData;
     this._viewModel     = viewModel;
 }