dotnet / dotnet/dotnet-api-docs
Applied to a type or field?
- Langage dominant
- C#
- Étoiles
- 949
- Forks
- 1.7k
- Merge moyen
- 2 j 19 h
- PR mergées (30 j)
- 52
Description
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**
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Ouvrez xml/System.ComponentModel.DataAnnotations/CustomValidationAttribute.xml et lisez le contenu de Remarks pour CustomValidationAttribute. Étendez l’explication afin de couvrir la manière dont l’attribut s’applique aux types et aux champs, en reprenant la discussion existante sur les autres cibles. C’est terminé lorsque la documentation Remarks générée explique clairement les deux cas.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- csharp
- Domaine
- documentation
- Type d'issue
- Documentation
- Difficulté
- 1/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 50/100