Finds the ActiveSnippetMapping instance that match closest to the alias.

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

Syntax

C#
public IList<ActiveSnippetMapping> FindSimilar(
	string partialAlias,
	string targetExtension
)
Visual Basic
Public Function FindSimilar ( 
	partialAlias As String,
	targetExtension As String
) As IList(Of ActiveSnippetMapping)

Parameters

partialAlias
Type: System..::..String
The partial alias.
targetExtension
Type: System..::..String
The target extension.

Return Value

Type: IList<(Of <(<'ActiveSnippetMapping>)>)>
The ActiveSnippetMapping instance that match closest to the alias.

See Also