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

Removes player from the given set. Precisely speaking, produces the set difference between the given collection of players and a given player.

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

Syntax

   
 C# 
public static IEnumerable<Player> Except(
	this IEnumerable<Player> source,
	Player excludedPlayer
)

Parameters

source
IEnumerable<(Of <(<'Player>)>)>
Original set of players. Will not get modified.
excludedPlayer
Player
Player to remove from the set.

Return Value

A set that contains all players in the input sequence, minus the given player.

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