Class Identifiers
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
Outgoing
Gets the outgoing identifiers in this set.
public IEnumerable<Identifier> Outgoing { get; }
Property Value
Unknown
Gets the unknown identifiers in this set.
public IEnumerable<Identifier> Unknown { get; }
Property Value
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
ClientTypedirection
Directionname
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
ClientTypedirection
Directionnames
string[]
ToString()
Gets a string representation of this identifier set.
public override string ToString()