C# Class Rebel.Cms.Web.ViewContextExtensions

Afficher le fichier Open project: RebelCMS/rebelcmsxu5

Méthodes publiques

Méthode Description
CopyWithModel ( this vc, object model ) : System.Web.Mvc.ViewContext

Creates a new ViewContext from an existing one but specifies a new Model for the ViewData

Method Details

CopyWithModel() public static méthode

Creates a new ViewContext from an existing one but specifies a new Model for the ViewData
public static CopyWithModel ( this vc, object model ) : System.Web.Mvc.ViewContext
vc this
model object
Résultat System.Web.Mvc.ViewContext