RouteHandlerBuilderLanguageExtensions.WithLanguage method

Tags a RouteHandlerBuilder with a ScriptLanguageAttribute for the specified language.

public static RouteHandlerBuilder WithLanguage(this RouteHandlerBuilder b, ScriptLanguage lang)
parameter description
b The route handler builder to tag.
lang The script language to associate with the route handler.

Return Value

The same RouteHandlerBuilder instance for fluent chaining.

See Also