C# Class BranchPresets.LayoutHelper

Exibir arquivo Open project: kamsar/BranchPresets Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
ApplyActionToAllRenderings ( System.Item item, ID fieldId, RenderingActionResult>.Func action ) : void
ApplyActionToLayoutXml ( string xml, RenderingActionResult>.Func action ) : string

Method Details

ApplyActionToAllFinalRenderings() public static method

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
return void

ApplyActionToAllRenderings() public static method

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
return void

ApplyActionToAllSharedRenderings() public static method

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
return void