Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ListSortDescriptionCollection.cs
Go to the documentation of this file.
2
4
6{
7 private readonly ArrayList _sorts = new ArrayList();
8
9 public ListSortDescription? this[int index]
10 {
11 get
12 {
14 }
15 set
16 {
18 }
19 }
20
21 bool IList.IsFixedSize => true;
22
23 bool IList.IsReadOnly => true;
24
25 object? IList.this[int index]
26 {
27 get
28 {
29 return this[index];
30 }
31 set
32 {
34 }
35 }
36
37 public int Count => _sorts.Count;
38
39 bool ICollection.IsSynchronized => true;
40
41 object ICollection.SyncRoot => this;
42
46
48 {
49 if (sorts != null)
50 {
51 for (int i = 0; i < sorts.Length; i++)
52 {
53 _sorts.Add(sorts[i]);
54 }
55 }
56 }
57
62
67
68 public bool Contains(object? value)
69 {
70 return ((IList)_sorts).Contains(value);
71 }
72
73 public int IndexOf(object? value)
74 {
75 return ((IList)_sorts).IndexOf(value);
76 }
77
82
87
92
93 public void CopyTo(Array array, int index)
94 {
96 }
97
102}
virtual IEnumerator GetEnumerator()
virtual int Add(object? value)
virtual void CopyTo(Array array)
static string CantModifyListSortDescriptionCollection
Definition SR.cs:108
Definition SR.cs:7
void RemoveAt(int index)
void Insert(int index, object? value)
int Add(object? value)
void Remove(object? value)