C# Class Rebel.Cms.Web.EmbeddedViewEngine.EmbeddedViews

A utility class
Afficher le fichier Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

GetEmbeddedView() public static méthode

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
Résultat EmbeddedViewAttribute

GetEmbeddedViewPath() public static méthode

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
Résultat string

GetEmbeddedViewPath() public static méthode

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
Résultat string