Namespace Virtufin.Core
Namespaces
Classes
- EntityAttributeValueTypeSpecifier<V>
Helper class to implement IEntityAttributeValueTypeSpecifier where the type membership predicate is defines a set, where all elements have the same type of the value
Structs
Interfaces
- IEntityAttributeValueTypeSpecifier
As C# doesn't support dependent types, we cannot define a class which is given by generic constraints to the values of the entities, attributes and values in terms of some (value) depedent type at compile time. We have to check the test if a entity/attribute/value triplet belongs to a particular class to runtime via a type membbrship predicate, IsTypeMember<V>(IEntityIdentifier, IAttribute<V>, V) instead