[This is preliminary documentation and is subject to change.]

Filters a collection of players, leaving only those of the given rank.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.1 (0.6.3.1)

Syntax

   
 C# 
[NotNullAttribute]
public static IEnumerable<Player> Ranked(
	this IEnumerable<Player> source,
	Rank rank
)

Parameters

source
IEnumerable<(Of <(<'Player>)>)>
Original collection of players. Will not get modified.
rank
Rank
Desired rank.

Return Value

Filtered collection of players.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<(Of <(<'Player>)>)>. When you use instance method syntax to call this method, omit the first parameter.

See Also