C# Class MvcBreadcrumbsDemo.Breadcrumbs.UserSettingsNodeTitleProvider

Inheritance: MvcBreadcrumbs.Providers.AbstractTitleProvider
Afficher le fichier Open project: andreister/MvcBreadcrumbs

Méthodes protégées

Méthode Description
GetTitleInternal ( Node node, long id ) : string

Private Methods

Méthode Description
GetUserBySettingId ( long id ) : User

The rule in this sample project is that settingId=userId*10, see "Display.cshtml" In real app we'd get the user from cache or database.

Method Details

GetTitleInternal() protected méthode

protected GetTitleInternal ( Node node, long id ) : string
node MvcBreadcrumbs.Node
id long
Résultat string