private ServerListIsEmptyOrContains ( string serverName ) : bool | ||
serverName | string | |
Результат | bool |
private bool ServerListIsEmptyOrContains (string serverName)
{
return Servers.Count == 0 || (serverName.IsNotEmpty() &&
Servers.Contains (serverName, new CurrentCultureIgnoreCaseEqualityComparer ()));
}
}