C# Класс BranchPresets.LayoutHelper

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ApplyActionToAllFinalRenderings ( System.Item item, RenderingActionResult>.Func action ) : void

Helper method that loops over all Final renderings in all devices attached to an item and invokes a function on each of them. The function may request the deletion of the item by returning a specific enum value.

ApplyActionToAllRenderings ( System.Item item, RenderingActionResult>.Func action ) : void

Helper method that loops over all Shared and Final renderings in all devices attached to an item and invokes a function on each of them. The function may request the deletion of the item by returning a specific enum value.

ApplyActionToAllSharedRenderings ( System.Item item, RenderingActionResult>.Func action ) : void

Helper method that loops over all Shared renderings in all devices attached to an item and invokes a function on each of them. The function may request the deletion of the item by returning a specific enum value.

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

Метод Описание
ApplyActionToAllRenderings ( System.Item item, ID fieldId, RenderingActionResult>.Func action ) : void
ApplyActionToLayoutXml ( string xml, RenderingActionResult>.Func action ) : string

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

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

Helper method that loops over all Final renderings in all devices attached to an item and invokes a function on each of them. The function may request the deletion of the item by returning a specific enum value.
public static ApplyActionToAllFinalRenderings ( System.Item item, RenderingActionResult>.Func action ) : void
item System.Item
action RenderingActionResult>.Func
Результат void

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

Helper method that loops over all Shared and Final renderings in all devices attached to an item and invokes a function on each of them. The function may request the deletion of the item by returning a specific enum value.
public static ApplyActionToAllRenderings ( System.Item item, RenderingActionResult>.Func action ) : void
item System.Item
action RenderingActionResult>.Func
Результат void

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

Helper method that loops over all Shared renderings in all devices attached to an item and invokes a function on each of them. The function may request the deletion of the item by returning a specific enum value.
public static ApplyActionToAllSharedRenderings ( System.Item item, RenderingActionResult>.Func action ) : void
item System.Item
action RenderingActionResult>.Func
Результат void