Copies any matching properties to another CodeTemplate instance.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public void CopyPropertiesTo( CodeTemplate template, bool includeNonBrowsable, ICollection<string> ignorePropertyNames ) |
Visual Basic |
---|
Public Sub CopyPropertiesTo ( template As CodeTemplate, includeNonBrowsable As Boolean, ignorePropertyNames As ICollection(Of String) ) |
Parameters
- template
- Type: CodeSmith.Engine..::..CodeTemplate
Template.
- includeNonBrowsable
- Type: System..::..Boolean
Whether non-browsable properties should be included.
- ignorePropertyNames
- Type: System.Collections.Generic..::..ICollection<(Of <(<'String>)>)>
Ignores the specified list of property names when copying properties to the template.