public ViewContext(ViewEngine viewEngine) { this._viewEngine = viewEngine; this._configuration = viewEngine.ViewConfiguration; this._viewData = new Dictionary <string, object>(); this._viewModel = null; }
public ViewContext(ViewEngine viewEngine, object viewModel, IDictionary <string, object> viewData) { this._viewEngine = viewEngine; this._configuration = viewEngine.ViewConfiguration; this._viewData = viewData; this._viewModel = viewModel; }