C# Класс Rebel.Cms.Web.ViewContextExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

CopyWithModel() публичный статический Метод

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
Результат System.Web.Mvc.ViewContext