public static IEnumerable <PlayerClient> FindAllWithString(string partialNameOrIDInt) { ServerManagement management = ServerManagement.Get(); if ((management != null) && !string.IsNullOrEmpty(partialNameOrIDInt)) { return(management.FindPlayerClientsByString(partialNameOrIDInt)); } return(EmptyArray <PlayerClient> .emptyEnumerable); }