public void SetInstanceFromViewResult(PartialViewResult viewResult)
 {
     Instance = ViewEngine.CreatePartialView(viewResult.ViewName);
 }