Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
GatewayIPAddressInformationCollection.cs
Go to the documentation of this file.
3
5
6public class GatewayIPAddressInformationCollection : ICollection<GatewayIPAddressInformation>, IEnumerable<GatewayIPAddressInformation>, IEnumerable
7{
9
10 public virtual int Count => _addresses.Count;
11
12 public virtual bool IsReadOnly => true;
13
14 public virtual GatewayIPAddressInformation this[int index] => _addresses[index];
15
20
21 public virtual void CopyTo(GatewayIPAddressInformation[] array, int offset)
22 {
24 }
25
26 public virtual void Add(GatewayIPAddressInformation address)
27 {
29 }
30
32 {
33 _addresses.Add(address);
34 }
35
36 public virtual bool Contains(GatewayIPAddressInformation address)
37 {
38 return _addresses.Contains(address);
39 }
40
45
50
51 public virtual bool Remove(GatewayIPAddressInformation address)
52 {
54 }
55
56 public virtual void Clear()
57 {
59 }
60}
void CopyTo(KeyValuePair< TKey, TValue >[] array, int index)
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
void Add(TKey key, TValue value)
virtual void CopyTo(GatewayIPAddressInformation[] array, int offset)
static string net_collection_readonly
Definition SR.cs:20
Definition SR.cs:7
new IEnumerator< T > GetEnumerator()