Class QuotedTypeConversionTargets
Used to specify mappings between quotation types and target types.
Inheritance
System.Object
QuotedTypeConversionTargets
Namespace: Reaqtor.QueryEngine
Assembly: Reaqtor.QueryEngine.dll
Syntax
public static class QuotedTypeConversionTargets : Object
Properties
Empty
Gets an empty conversion map.
Declaration
public static IQuotedTypeConversionTargets Empty { get; }
Property Value
Type | Description |
---|---|
IQuotedTypeConversionTargets |
Remarks
This is the default and is useful when operators are defined using new
expressions rather than
factory methods on some static class.
Methods
From(IReadOnlyDictionary<Type, Type>)
Creates a conversion map from the specified dictionary.
Declaration
public static IQuotedTypeConversionTargets From(IReadOnlyDictionary<Type, Type> typeMap)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IReadOnlyDictionary<System.Type, System.Type> | typeMap | Dictionary mapping quoted types to non-quoted types. |
Returns
Type | Description |
---|---|
IQuotedTypeConversionTargets | A new conversion map instance. |