dotnet / dotnet/dotnet-api-docs

Consolidate and revise content on Attributes in .NET

Đang mở
#855 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
area-System.Runtime dotnet-csharp/prod Pri2
Ngôn ngữ chính
C#
Star
950
Fork
1.7k
Merge trung bình
2 ngày 19 giờ
Pull request đã merge (30 ngày)
52

Mô tả

This article documents the AttributeUsage attribute. That is useful information, but I think it should be included in [the API reference article about `AttributeUsageAttribute`](https://docs.microsoft.com/en-us/dotnet/api/system.attributeusageattribute), not in the C# guide.

I think most of the information in this article is not C#-specific, so moving it to the API reference should be fine. It contains one paragraph about C# 7.3, which is not really about AttributeUsage, so that paragraph should probably be moved to another article in the C# guide.

---
#### Document Details

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

* ID: d714b529-ada7-833d-dc84-59dd7f20be05
* Version Independent ID: 06a82702-a0c4-9d1c-5dbe-b70d9badfddd
* Content: [AttributeUsage (C#)](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/attributes/attributeusage)
* Content Source: [docs/csharp/programming-guide/concepts/attributes/attributeusage.md](https://github.com/dotnet/docs/blob/master/docs/csharp/programming-guide/concepts/attributes/attributeusage.md)
* Product: **dotnet-csharp**
* GitHub Login: @BillWagner
* Microsoft Alias: **wiwagn**

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với docs/csharp/programming-guide/concepts/attributes/attributeusage.md và so sánh nội dung về AttributeUsage trong đó với bài viết tham chiếu API AttributeUsageAttribute được liên kết. Chuyển nội dung không dành riêng cho C# sang phần tham chiếu API, di chuyển lại đoạn về C# 7.3 trong hướng dẫn C# và xác minh rằng các bài viết sau khi hoàn tất không còn trùng lặp hoặc đặt sai vị trí thông tin này.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
csharp
Lĩnh vực
documentation
Loại issue
Tài liệu
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.