TypeConvertedValueExpressionAttribute Constructor

Definition

Namespace: Gemstone.Expressions.Model
Assembly: Gemstone.Expressions (in Gemstone.Expressions.dll) Version: 1.0.166 -- Release Build+b9d6a8ace5a2e92842f42ad9e3bd94e5b5e57d9d
public TypeConvertedValueExpressionAttribute(
	string expression,
	Type? returnType = null
)

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