Class ConceptMap
- Namespace
- Cratis.Concepts
- Assembly
- Cratis.Fundamentals.dll
Maps a concept type to the underlying primitive type.
public static class ConceptMap
- Inheritance
-
ConceptMap
- Inherited Members
Methods
GetConceptValueType(Type)
Get the type of the value in a ConceptAs<T>.
public static Type GetConceptValueType(Type type)
Parameters
Returns
- Type
The type of the ConceptAs<T> value.
GetValuePropertyInfo(Type)
Get the PropertyInfo for the value property in a ConceptAs<T>.
[UnconditionalSuppressMessage("Trimming", "IL2070", Justification = "ConceptAs<T>.Value is a well-known property that is always preserved.")]
public static PropertyInfo GetValuePropertyInfo(Type type)
Parameters
typeTypeType to get for.
Returns
- PropertyInfo
PropertyInfo for the concept type.