dotnet / dotnet/dotnet-api-docs

Applied to a type or field?

Abierto
#800 1 comentario 0 reacciones 0 asignados Ver en GitHub
.net/prod area-System.ComponentModel.DataAnnotations Pri2 untriaged
Lenguaje dominante
C#
Estrellas
949
Forks
1.7k
Merge medio
2 d 19 h
PR fusionados (30 d)
52

Descripción

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**

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Abre xml/System.ComponentModel.DataAnnotations/CustomValidationAttribute.xml y lee el contenido de Remarks para CustomValidationAttribute. Amplía la explicación para cubrir cómo se aplica el atributo a tipos y campos, siguiendo la discusión existente sobre otros destinos. La tarea estará terminada cuando la documentación de Remarks generada explique claramente ambos casos.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
csharp
Área
documentation
Tipo de issue
Documentación
Dificultad
1/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
50/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.