C# Класс Skybrud.LinkPicker.Extensions.PublishedContentExtensions

Various extension methods for IPublishedContent and the LinkPicker.
Показать файл Открыть проект

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

Метод Описание
GetLinkPickerItem ( this content, string propertyAlias ) : LinkPickerItem

Gets the first link item from a LinkPicker model from the property with the specified propertyAlias. If property isn't a link picker (or the list is empty), an empty item will be returned instead.

GetLinkPickerList ( this content, string propertyAlias ) : LinkPickerList

Gets the LinkPicker model from the property with the specified propertyAlias.

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

GetLinkPickerItem() публичный статический Метод

Gets the first link item from a LinkPicker model from the property with the specified propertyAlias. If property isn't a link picker (or the list is empty), an empty item will be returned instead.
public static GetLinkPickerItem ( this content, string propertyAlias ) : LinkPickerItem
content this The published content to read the property from.
propertyAlias string The alias of the property.
Результат LinkPickerItem

GetLinkPickerList() публичный статический Метод

Gets the LinkPicker model from the property with the specified propertyAlias.
public static GetLinkPickerList ( this content, string propertyAlias ) : LinkPickerList
content this The published content to read the property from.
propertyAlias string The alias of the property.
Результат LinkPickerList