Show / Hide Table of Contents

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 Source

CanHandle(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

true if the provided type can be handled, otherwise false.

| Improve this Doc View Source

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.

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX