Table of Contents

Class Identifiers

Namespace
Xabbo.Messages
Assembly
Xabbo.Common.dll

Represents a set of Identifier.

public sealed class Identifiers : HashSet<Identifier>, ISet<Identifier>, ICollection<Identifier>, IReadOnlySet<Identifier>, IReadOnlyCollection<Identifier>, IEnumerable<Identifier>, IEnumerable, IDeserializationCallback, ISerializable
Inheritance
Identifiers
Implements
Inherited Members

Constructors

Identifiers()

Creates a new empty identifier set.

public Identifiers()

Identifiers(IEnumerable<Identifier>)

Creates an identifier set with the specified identifiers.

public Identifiers(IEnumerable<Identifier> identifiers)

Parameters

identifiers IEnumerable<Identifier>

Properties

Incoming

Gets the incoming identifiers in this set.

public IEnumerable<Identifier> Incoming { get; }

Property Value

IEnumerable<Identifier>

Outgoing

Gets the outgoing identifiers in this set.

public IEnumerable<Identifier> Outgoing { get; }

Property Value

IEnumerable<Identifier>

Unknown

Gets the unknown identifiers in this set.

public IEnumerable<Identifier> Unknown { get; }

Property Value

IEnumerable<Identifier>

Methods

Add(ClientType, Direction, string)

Adds a new identifier with the specified direction and name to this set.

public void Add(ClientType client, Direction direction, string name)

Parameters

client ClientType
direction Direction
name string

Add(ClientType, Direction, params string[])

Adds a range of new identifiers with the specified direction and names to this set.

public void Add(ClientType client, Direction direction, params string[] names)

Parameters

client ClientType
direction Direction
names string[]

ToString()

Gets a string representation of this identifier set.

public override string ToString()

Returns

string