dotnet / dotnet/dotnet-api-docs

Add output for code snippets

オープン
#797 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
.net/prod area-System.Net example-request help wanted Pri2
主要言語
C#
スター
949
フォーク
1.7k
平均マージ
2日 19時間
マージ済み PR(30日)
52

説明

In pages like this it would be useful to have the output of the code snippets. For example, it's not obvious that the output of:

adapter.GetPhysicalAddress().ToString();

Will be in the format `AABBCCDDEEFF`. Being a MAC address I would have expected the display representation to be `AA:BB:CC:DD:EE:FF`.

---
#### Document Details

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

* ID: 87d7394a-3f17-943a-fa63-7d0ee3df49c4
* Version Independent ID: 93f4c822-8a80-2147-41c5-a69ca5b722f8
* Content: [NetworkInterface Class (System.Net.NetworkInformation)](https://docs.microsoft.com/en-us/dotnet/api/system.net.networkinformation.networkinterface?view=netframework-4.7.1)
* Content Source: [xml/System.Net.NetworkInformation/NetworkInterface.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Net.NetworkInformation/NetworkInterface.xml)
* Product: **.net**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **bobdel**

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

xml/System.Net.NetworkInformation/NetworkInterface.xml から始め、adapter.GetPhysicalAddress().ToString() を含む例を見つけます。周辺のコードスニペットがどのようにドキュメント化されているかを確認し、この例の期待される出力を追加します。レンダリングされた NetworkInterface API ページに出力が明確に表示されることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
documentation
issue の種類
ドキュメント
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
52/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。