C# Class Pomona.Routing.PomonaRouteMetadataProvider

The default route metadata provider for Pomona.
Inheritance: IRouteMetadataProvider
Afficher le fichier Open project: Pomona/Pomona

Méthodes publiques

Méthode Description
GetMetadata ( INancyModule module, Nancy.Routing.RouteDescription routeDescription ) : object

Gets the metadata for the provided route.

GetMetadataType ( INancyModule module, Nancy.Routing.RouteDescription routeDescription ) : Type

Gets the T:System.Type of the metadata that is created by the provider.

Method Details

GetMetadata() public méthode

Gets the metadata for the provided route.
public GetMetadata ( INancyModule module, Nancy.Routing.RouteDescription routeDescription ) : object
module INancyModule The instance that the route is declared in.
routeDescription Nancy.Routing.RouteDescription A for the route.
Résultat object

GetMetadataType() public méthode

Gets the T:System.Type of the metadata that is created by the provider.
public GetMetadataType ( INancyModule module, Nancy.Routing.RouteDescription routeDescription ) : Type
module INancyModule The instance that the route is declared in.
routeDescription Nancy.Routing.RouteDescription A for the route.
Résultat System.Type