dotnet / dotnet/dotnet-api-docs

How would I know how to format the extensions?

Open
#826 1 comment 0 reactions 0 assignees View on GitHub
area-System.ComponentModel.DataAnnotations dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

Maybe I've missed it, but just by looking at the documentation I don't see how I would know to format the extensions. I'm assuming they should be comma separated. I.e.

[FileExtensions(Extensions = ".pdf,.doc,.docx")]

---
#### Document Details

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

* ID: 32ba200f-edc6-84ca-4784-5cfd24b6f2ba
* Version Independent ID: 0358b515-a6b1-02e8-37c7-9caaba276373
* Content: [FileExtensionsAttribute.Extensions Property (System.ComponentModel.DataAnnotations)](https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.dataannotations.fileextensionsattribute.extensions?view=netcore-2.0#System_ComponentModel_DataAnnotations_FileExtensionsAttribute_Extensions)
* Content Source: [xml/System.ComponentModel.DataAnnotations/FileExtensionsAttribute.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.ComponentModel.DataAnnotations/FileExtensionsAttribute.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.