C# Class Pomona.Routing.PomonaRouteMetadataProvider

The default route metadata provider for Pomona.
Inheritance: IRouteMetadataProvider
Exibir arquivo Open project: Pomona/Pomona

Public Methods

Method 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 method

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.
return object

GetMetadataType() public method

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.
return System.Type