C# Class Rebel.Cms.Web.RouteDataExtensions

Afficher le fichier Open project: RebelCMS/rebelcmsxu5

Méthodes publiques

Méthode Description
Clone ( this routeData ) : System.Web.Routing.RouteData

Clones the RouteData to a new RouteData object

GetControllerExtenderParameters ( this routeData ) : object[]

Returns the ExtenderData for the ControllerExtender

GetControllerExtenderParentContext ( this routeData ) : System.Web.Mvc.ControllerContext

Returns the ControllerContext for the parent Controller of a ControllerExtender

GetOptionalString ( this routeData, string key ) : string
GetOptionalValue ( this routeData, string key ) : object
GetRequiredValue ( this routeData, string key ) : object
IsControllerExtender ( this routeData ) : bool

Returns true if the executing controller is a ControllerExtender

Private Methods

Méthode Description
GetControllerHash ( this routeData ) : string

Returns a string representation of the routeData for use in Dictionary keys, the string returned depicts a unique route for a controller.

Method Details

Clone() public static méthode

Clones the RouteData to a new RouteData object
public static Clone ( this routeData ) : System.Web.Routing.RouteData
routeData this
Résultat System.Web.Routing.RouteData

GetControllerExtenderParameters() public static méthode

Returns the ExtenderData for the ControllerExtender
public static GetControllerExtenderParameters ( this routeData ) : object[]
routeData this
Résultat object[]

GetControllerExtenderParentContext() public static méthode

Returns the ControllerContext for the parent Controller of a ControllerExtender
public static GetControllerExtenderParentContext ( this routeData ) : System.Web.Mvc.ControllerContext
routeData this
Résultat System.Web.Mvc.ControllerContext

GetOptionalString() public static méthode

public static GetOptionalString ( this routeData, string key ) : string
routeData this
key string
Résultat string

GetOptionalValue() public static méthode

public static GetOptionalValue ( this routeData, string key ) : object
routeData this
key string
Résultat object

GetRequiredValue() public static méthode

public static GetRequiredValue ( this routeData, string key ) : object
routeData this
key string
Résultat object

IsControllerExtender() public static méthode

Returns true if the executing controller is a ControllerExtender
public static IsControllerExtender ( this routeData ) : bool
routeData this
Résultat bool