Class ConnectionCollection
Implements
System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<System.String, Connection>>
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, Connection>>
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Experior.Core.Collections
Assembly: Experior.Core.dll
Syntax
public sealed class ConnectionCollection : ReadOnlyDictionary<string, Connection>, IReadOnlyDictionary<string, Connection>, IReadOnlyCollection<KeyValuePair<string, Connection>>, IEnumerable<KeyValuePair<string, Connection>>, IEnumerable, IConnectionCollection
Constructors
ConnectionCollection(IDictionary<String, Connection>)
Declaration
public ConnectionCollection(IDictionary<string, Connection> source)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, Connection> | source |
ConnectionCollection(Int32)
Declaration
public ConnectionCollection(int capacity = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | capacity |
Methods
Add(Connection)
Declaration
public void Add(Connection connection)
Parameters
Type | Name | Description |
---|---|---|
Connection | connection |
Events
OnDictionaryChanged
Declaration
public event ConnectionCollection.DictionaryChangedEvent OnDictionaryChanged
Event Type
Type | Description |
---|---|
ConnectionCollection.DictionaryChangedEvent |
Implements
System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable