Field Validation
-
Internal Validation
Internal validation is when a class handles it own validity internally. This can be achieved by having your own FieldValidationManager inside your class.
Since there is no way to get notified when a field changes all validation must be done forced.
This means that when a consumer of a class wants it validated that consumed must force the validation.
As a consequence either the instance of FieldValidationManager or a subset of its members must be exposed.
-
External Validation
External validation is when a class is not aware of it own validity and is validated by a external (to the class) by a FieldValidationManager.
When using this option it is completely up to the developer when and how validation occurs.