Show / Hide Table of Contents

Class DataContextQueryableSubstituteTypeConstantHandler

An ISubstituteTypeConstantHandler for IDataContextQueryProvider.

Inheritance
System.Object
DataContextQueryableSubstituteTypeConstantHandler
Implements
ISubstituteTypeConstantHandler
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Data.Linq.Expressions
Assembly: Kephas.Data.dll
Syntax
public class DataContextQueryableSubstituteTypeConstantHandler : ISubstituteTypeConstantHandler

Methods

| Improve this Doc View Source

CanHandle(Type)

Determines whether the provided type can be handled.

Declaration
public bool CanHandle(Type type)
Parameters
Type Name Description
System.Type type

The type.

Returns
Type Description
System.Boolean

true if th 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
public 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.

Exceptions
Type Condition
System.InvalidOperationException

Thrown when the requested operation is invalid.

Implements

ISubstituteTypeConstantHandler

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