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

Syntax

C#
protected virtual T GetValue<T>(
	string name,
	T defaultValue,
	Func<T, bool> expression
)
Visual Basic
Protected Overridable Function GetValue(Of T) ( 
	name As String,
	defaultValue As T,
	expression As Func(Of T, Boolean)
) As T

Parameters

name
Type: System..::..String
defaultValue
Type: T
expression
Type: System..::..Func<(Of <(<'T, Boolean>)>)>

Type Parameters

T

Return Value

Type: T

See Also