Click or drag to resize

TypeConvertedValueExpressionAttribute Constructor


Namespace: GSF.ComponentModel
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.249-beta+56964f8aed6f3f2e54faec1539f7ce0ba6548fdf
Syntax
public TypeConvertedValueExpressionAttribute(
	string expression,
	Type returnType = null
)
View Source

Parameters

expression  String
C# expression that will evaluate to the type converted property value.
returnType  Type  (Optional)
Return type for specified C# expression; defaults to null to auto-derive the expression return type by pre-parsing expression.
Remarks
When the returnType is known in advance, it is optimal to provide it.
See Also