public FriendCollection GetFriends() { if (this.IsSignedInToLive && this.friendCollection == null) { this.friendCollection = new FriendCollection(); } return(this.friendCollection); }
public FriendCollection GetFriends() { if (friendCollection == null) { friendCollection = new FriendCollection(); } return(friendCollection); }
public FriendCollection GetFriends() { if (IsSignedInToLive) { if (friendCollection == null) { friendCollection = new FriendCollection(); } } return(friendCollection); }
public FriendCollection GetFriends() { if (IsSignedInToLive) { if (friendCollection == null) { friendCollection = new FriendCollection(); } lp.LoadFriends(delegate(string[] FriendsList, NSError error) { foreach (string Friend in FriendsList) { friendCollection.Add(new FriendGamer() { Gamertag = Friend }); } }); } return(friendCollection); }