C# Класс MyProducts.Services.Controllers.PersonalizationController

NOTE: This is a hard-coded sample - usually the data would sit in a DB! Web API to deliver personalized application features and UI claims based on incoming user identity.
Наследование: ApiController
Показать файл Открыть проект

Открытые методы

Метод Описание
GetPersonalizationData ( ) : MyProducts.Web.Api.DTOs.Personalization.PersonalizationData

Get application personalization information based on the incoming user.

Приватные методы

Метод Описание
GetCapabilities ( string userName ) : Capabilities
GetConstraints ( string userName ) : Constraints
GetFeatures ( string userName ) : IEnumerable
GetItemsLimit ( string userName ) : double
GetNameValueClaims ( string userName ) : NameValueClaims

Описание методов

GetPersonalizationData() публичный Метод

Get application personalization information based on the incoming user.
public GetPersonalizationData ( ) : MyProducts.Web.Api.DTOs.Personalization.PersonalizationData
Результат MyProducts.Web.Api.DTOs.Personalization.PersonalizationData