MetalamaAPI documentationPatterns APIMetalama.​Patterns.​ContractsPhone­AttributeOn­Contract­Violated
Open sandboxFocus

PhoneAttribute.OnContractViolated Method

OnContractViolated(Object, Object)

Declaration
protected override void OnContractViolated(dynamic value, dynamic regex)
Parameters
Type Name Description
System.Object value
System.Object regex
Overrides
RegularExpressionBaseAttribute.OnContractViolated(Object, Object)