Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
X509ChainElementEnumerator.cs
Go to the documentation of this file.
3
5
6public sealed class X509ChainElementEnumerator : IEnumerator, IEnumerator<X509ChainElement>, IDisposable
7{
9
10 private int _current;
11
13
14 object IEnumerator.Current => Current;
15
21
23 {
24 }
25
26 public bool MoveNext()
27 {
28 if (_current == _chainElements.Count - 1)
29 {
30 return false;
31 }
32 _current++;
33 return true;
34 }
35
36 public void Reset()
37 {
38 _current = -1;
39 }
40}