C# Класс Rebel.Cms.Web.EmbeddedViewEngine.EmbeddedViews

A utility class
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetEmbeddedView ( object model ) : EmbeddedViewAttribute

Returns the embedded view attribute object for the model specified, or null if the attribute was not found

GetEmbeddedViewPath ( EmbeddedViewAttribute a ) : string

Returns the embedded view path for the model specified or an empty string if the embedded view attribute was not found

GetEmbeddedViewPath ( dynamic model ) : string

Returns the embedded view path for the model specified or an empty string if the embedded view attribute was not found

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

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

Returns the embedded view attribute object for the model specified, or null if the attribute was not found
public static GetEmbeddedView ( object model ) : EmbeddedViewAttribute
model object
Результат EmbeddedViewAttribute

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

Returns the embedded view path for the model specified or an empty string if the embedded view attribute was not found
public static GetEmbeddedViewPath ( EmbeddedViewAttribute a ) : string
a EmbeddedViewAttribute
Результат string

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

Returns the embedded view path for the model specified or an empty string if the embedded view attribute was not found
public static GetEmbeddedViewPath ( dynamic model ) : string
model dynamic
Результат string