C# Class BranchPresets.AddFromBranchPreset

Augments the functionality of Branch Templates by making any rendering data sources set in the layout on the branch that point to other children of the branch be repointed to the newly created branch item instead of the source branch item. This allows for templating including data source items using branches.
Inheritance: AddFromTemplateProcessor
ファイルを表示 Open project: kamsar/BranchPresets

Public Methods

Method Description
Process ( AddFromTemplateArgs args ) : void

Protected Methods

Method Description
RewriteBranchRenderingDataSources ( System.Item item, BranchItem branchTemplateItem ) : void

Method Details

Process() public method

public Process ( AddFromTemplateArgs args ) : void
args AddFromTemplateArgs
return void

RewriteBranchRenderingDataSources() protected method

protected RewriteBranchRenderingDataSources ( System.Item item, BranchItem branchTemplateItem ) : void
item System.Item
branchTemplateItem BranchItem
return void