public override sealed void Initialize <TModel, TProperty>(HtmlHelper <TModel> htmlHelper, Expression <Func <TModel, TProperty> > expression) { Context = (DisplayContext)base.Context; base.Initialize <TModel, TProperty>(htmlHelper, expression); }
protected Display(DisplayContext context) : base(context, null) { Context = (DisplayContext)base.Context; }