This merge strategy can be used to preserve designated custom regions inside an existing file and regenerate the rest of the content in the file. The initialization string should be of the format: "RegionNameRegex=<RegexExpression>;Language=<Language>"

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public class PreserveRegionsMergeStrategy : IMergeStrategy
Visual Basic
Public Class PreserveRegionsMergeStrategy
	Implements IMergeStrategy

Inheritance Hierarchy

System..::..Object
  CodeSmith.Engine..::..PreserveRegionsMergeStrategy

See Also