Class GlobalHandlerPropertyNotOnVariant

Namespace
Cratis.Chronicle.Projections.ModelBound
Assembly
Cratis.Chronicle.dll

The exception that is thrown when a GlobalForAttribute<TIdentity> handler maps a member that a variant of the same identity does not have.

public class GlobalHandlerPropertyNotOnVariant : Exception, ISerializable
Inheritance
GlobalHandlerPropertyNotOnVariant
Implements
Inherited Members
Extension Methods

Constructors

GlobalHandlerPropertyNotOnVariant(Type, Type, string)

The exception that is thrown when a GlobalForAttribute<TIdentity> handler maps a member that a variant of the same identity does not have.

public GlobalHandlerPropertyNotOnVariant(Type globalHandlerType, Type variantType, string propertyName)

Parameters

globalHandlerType Type

The type declaring the shared handler.

variantType Type

The variant the mapping cannot be applied to.

propertyName string

The member the shared handler maps.