Class BreakingChangeClassifier
Classifies changes as breaking or non-breaking.
public sealed class BreakingChangeClassifier
- Inheritance
-
BreakingChangeClassifier
- Inherited Members
Methods
IsEntityAdditionBreaking()
Determines if adding an entity is a breaking change.
public bool IsEntityAdditionBreaking()
Returns
IsEntityRemovalBreaking()
Determines if removing an entity is a breaking change.
public bool IsEntityRemovalBreaking()
Returns
IsEnumRemovalBreaking()
Determines if removing an enum is a breaking change.
public bool IsEnumRemovalBreaking()
Returns
IsEnumValueRemovalBreaking()
Determines if removing an enum value is a breaking change.
public bool IsEnumValueRemovalBreaking()
Returns
IsIndexAdditionBreaking()
Determines if adding an index is a breaking change.
public bool IsIndexAdditionBreaking()
Returns
IsIndexRemovalBreaking()
Determines if removing an index is a breaking change.
public bool IsIndexRemovalBreaking()
Returns
IsKeyChangeBreaking()
Determines if changing key properties is a breaking change.
public bool IsKeyChangeBreaking()
Returns
IsPropertyAdditionBreaking(bool)
Determines if adding a property is a breaking change.
public bool IsPropertyAdditionBreaking(bool isRequired)
Parameters
isRequiredboolWhether the new property is required.
Returns
IsPropertyRemovalBreaking()
Determines if removing a property is a breaking change.
public bool IsPropertyRemovalBreaking()
Returns
IsPropertyTypeChangeBreaking()
Determines if changing a property type is a breaking change.
public bool IsPropertyTypeChangeBreaking()
Returns
IsRequiredChangeBreaking(bool, bool)
Determines if changing the required status of a property is a breaking change.
public bool IsRequiredChangeBreaking(bool wasOptional, bool isNowRequired)
Parameters
wasOptionalboolWhether the property was previously optional.
isNowRequiredboolWhether the property is now required.
Returns
IsRuleChangeBreaking()
Determines if rule changes are breaking.
public bool IsRuleChangeBreaking()
Returns
IsValueObjectRemovalBreaking()
Determines if removing a value object is a breaking change.
public bool IsValueObjectRemovalBreaking()