Class DuplicateConstraintNames
- Namespace
- Cratis.Chronicle.Events.Constraints
- Assembly
- Cratis.Chronicle.dll
Exception that gets thrown when there are duplicates of constraints with the same name.
public class DuplicateConstraintNames : Exception, ISerializable
- Inheritance
-
DuplicateConstraintNames
- Implements
- Inherited Members
Remarks
Initializes a new instance of DuplicateConstraintNames.
Constructors
DuplicateConstraintNames(IEnumerable<ConstraintName>)
Exception that gets thrown when there are duplicates of constraints with the same name.
public DuplicateConstraintNames(IEnumerable<ConstraintName> constraintNames)
Parameters
constraintNames
IEnumerable<ConstraintName>The name of the constraints that is duplicate.
Remarks
Initializes a new instance of DuplicateConstraintNames.
Properties
ConstraintNames
Gets the constraint names that are duplicates.
public IEnumerable<ConstraintName> ConstraintNames { get; }