Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
DesignerCollection.cs
Go to the documentation of this file.
2
4
6{
7 private readonly IList _designers;
8
9 public int Count => _designers.Count;
10
11 public virtual IDesignerHost? this[int index] => (IDesignerHost)_designers[index];
12
13 int ICollection.Count => Count;
14
15 bool ICollection.IsSynchronized => false;
16
17 object ICollection.SyncRoot => null;
18
19 public DesignerCollection(IDesignerHost[]? designers)
20 {
21 if (designers != null)
22 {
23 _designers = new ArrayList(designers);
24 }
25 else
26 {
27 _designers = new ArrayList();
28 }
29 }
30
31 public DesignerCollection(IList? designers)
32 {
33 _designers = designers ?? new ArrayList();
34 }
35
37 {
39 }
40
45
50}
void CopyTo(Array array, int index)