TypeConvertedValueExpressionAttribute Constructor
Namespace: Gemstone.Expressions.ModelAssembly: Gemstone.Expressions (in Gemstone.Expressions.dll) Version: 1.0.171 -- Release Build+912a0499557b7e3dab1c210a7947afeece80dcde
public TypeConvertedValueExpressionAttribute(
string expression,
Type? returnType = null
)
Public Sub New (
expression As String,
Optional returnType As Type = Nothing
)
public:
TypeConvertedValueExpressionAttribute(
String^ expression,
Type^ returnType = nullptr
)
Gemstone.Expressions.Model.TypeConvertedValueExpressionAttribute = function(expression, returnType);
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.
When the returnType is known in advance, it is optimal to provide it.