public SteamFriend Get(ulong steamid) { var f = new SteamFriend() { Id = steamid, Client = client }; f.Refresh(); return(f); }
public SteamFriend Get(ulong steamid) { var friend = All.Where(x => x.Id == steamid).FirstOrDefault(); if (friend != null) { return(friend); } var f = new SteamFriend() { Id = steamid, Client = client }; f.Refresh(); return(f); }