CommunityToolkit icon indicating copy to clipboard operation
CommunityToolkit copied to clipboard

ObservableValidator doesn't expose private ClearAllErrors as a main feature

Open echoix opened this issue 8 months ago • 0 comments

Type of issue

Outdated article

Description

The ClearAllErrors method is a private method. It is not a main feature of ObservableValidator as stated in the doc page. I couldn't confirm with the link to the generated docs for the class' API, as it links to the old Windows Community Toolkit 7.1.0 one, but I confirmed by reading the source code.

It seems the concept referred to might be the ClearErrors() that uses ClearAllErrors() internally.

Page URL

https://learn.microsoft.com/en-us/dotnet/communitytoolkit/mvvm/observablevalidator

Content source URL

https://github.com/MicrosoftDocs/CommunityToolkit/blob/main/docs/mvvm/ObservableValidator.md

Document Version Independent Id

0b0d4bb1-f1a9-4fa9-af90-e5d30b436701

Platform Id

06d00ffd-2c0e-64d5-de48-61a1992413b7

Article author

@Sergio0694

Metadata

  • ID: 0b0d4bb1-f1a9-4fa9-af90-e5d30b436701
  • PlatformId: 06d00ffd-2c0e-64d5-de48-61a1992413b7
  • Service: dotnet-communitytoolkit
  • Sub-service: mvvm-toolkit

echoix avatar Jun 12 '25 13:06 echoix