yield break
This commit is contained in:
parent
48e994182f
commit
299d81b76b
@ -184,10 +184,10 @@ namespace FastGithub
|
|||||||
if (string.IsNullOrEmpty(host) == false)
|
if (string.IsNullOrEmpty(host) == false)
|
||||||
{
|
{
|
||||||
yield return host;
|
yield return host;
|
||||||
|
yield break;
|
||||||
}
|
}
|
||||||
|
|
||||||
var globalPropreties = IPGlobalProperties.GetIPGlobalProperties();
|
var globalPropreties = IPGlobalProperties.GetIPGlobalProperties();
|
||||||
|
|
||||||
yield return globalPropreties.HostName;
|
yield return globalPropreties.HostName;
|
||||||
foreach (var item in globalPropreties.GetUnicastAddresses())
|
foreach (var item in globalPropreties.GetUnicastAddresses())
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user