dotnet / dotnet/dotnet-api-docs

Applied to a type or field?

Aperta
#800 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
.net/prod area-System.ComponentModel.DataAnnotations Pri2 untriaged
Lingua principale
C#
Stelle
949
Fork
1.7k
Merge medio
3g 27m
PR unite (30g)
49

Descrizione

The Remarks section states that this attribute can be "applied to types, properties, fields, methods, and method parameters", then explains some cases, but not the types nor the field ones.
It would be beneficial to explain both these cases too, as they are not obvious.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 11dfc639-e939-8944-28d6-9c82b53b0676
* Version Independent ID: cf71b269-876f-c64d-72fb-23fc83a9b8c9
* Content: [CustomValidationAttribute Class (System.ComponentModel.DataAnnotations)](https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.dataannotations.customvalidationattribute?view=netframework-4.7.2#remarks)
* Content Source: [xml/System.ComponentModel.DataAnnotations/CustomValidationAttribute.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.ComponentModel.DataAnnotations/CustomValidationAttribute.xml)
* Product: **.net**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **riande**

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Open xml/System.ComponentModel.DataAnnotations/CustomValidationAttribute.xml and read the Remarks content for CustomValidationAttribute. Expand the explanation to cover how the attribute applies to types and fields, matching the existing discussion of other targets. Done means the generated Remarks documentation clearly explains both cases.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp
Ambito
documentation
Tipo di issue
Documentazione
Difficoltà
1/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
50/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.