dotnet / dotnet/dotnet-api-docs

Split GetHostEntry(IPAddress) into its own sample

Open
#3,588 3 comments 0 reactions 0 assignees View on GitHub
area-System.Net Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

Updates were made to accommodate the `GetHostEntry(IPAddress)` overload in the sample on https://github.com/dotnet/docs/pull/2550 so that the API ref would show a proper (method call) example for this overload and not the example for `GetHostEntry(String)` (hostname as `String`), which was JustWrong:tm:.

Updates were made to:
*samples/snippets/cpp/VS_Snippets_Remoting/System.Net.Dns/CPP/dnsnewmethods.cpp*
*samples/snippets/csharp/VS_Snippets_Remoting/System.Net.Dns/CS/dnsnewmethods.cs*
*samples/snippets/visualbasic/VS_Snippets_Remoting/System.Net.Dns/vb/dnsnewmethods.vb*

However, this overload is best shown via its own sample as a complete executable example in the API coverage. Create a new set of samples to demo this overload and tie the new samples into *xml/System.Net/Dns.xml*.

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.