Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FrameworkElementViewEngineResult"/> class.
 /// </summary>
 /// <param name="controllerContext">The controller context.</param>
 /// <param name="options">The options.</param>
 protected FrameworkElementViewEngineResult(ControllerContext controllerContext, ViewResultOptions options)
     : base(true, new string[0])
 {
     this.controllerContext = controllerContext;
     this.options           = options;
     ViewInitializer        = new DefaultViewInitializer(controllerContext.ModelBinders);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="FrameworkElementViewEngineResult"/> class.
 /// </summary>
 /// <param name="controllerContext">The controller context.</param>
 /// <param name="options">The options.</param>
 protected FrameworkElementViewEngineResult(ControllerContext controllerContext, ViewResultOptions options) 
     : base(true, new string[0])
 {
     this.controllerContext = controllerContext;
     this.options = options;
     ViewInitializer = new DefaultViewInitializer(controllerContext.ModelBinders);
 }