Interface ISubstituteTypeConstantHandler
Handler for substituting a constant value with another one in the SubstituteTypeExpressionVisitor.
Namespace: Kephas.Data.Linq.Expressions
Assembly: Kephas.Data.dll
Syntax
public interface ISubstituteTypeConstantHandler
Methods
| Improve this Doc View SourceCanHandle(Type)
Determines whether the provided type can be handled.
Declaration
bool CanHandle(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Visit(Object, Type)
Visits the provided value and returns a transformed value.
Declaration
object Visit(object value, Type substituteType)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value. |
System.Type | substituteType | The substitute type. |
Returns
Type | Description |
---|---|
System.Object | A transformed value. |