using System;
using System.Collections;
using System.Runtime.InteropServices;
namespace System.Security.Permissions
{
/// Represents the enumerator for objects in a .
// Token: 0x02000557 RID: 1367
[ComVisible(true)]
[Serializable]
public sealed class KeyContainerPermissionAccessEntryEnumerator : IEnumerator
{
// Token: 0x060031F6 RID: 12790 RVA: 0x000AB98C File Offset: 0x000A9B8C
internal KeyContainerPermissionAccessEntryEnumerator(ArrayList list)
{
this.e = list.GetEnumerator();
}
/// Gets the current object in the collection.
/// The current object in the collection.
// Token: 0x170009CA RID: 2506
// (get) Token: 0x060031F7 RID: 12791 RVA: 0x000AB9A0 File Offset: 0x000A9BA0
object IEnumerator.Current
{
get
{
return this.e.Current;
}
}
/// Gets the current entry in the collection.
/// The current object in the collection.
/// The property is accessed before first calling the method. The cursor is located before the first object in the collection.-or- The property is accessed after a call to the method returns false, which indicates that the cursor is located after the last object in the collection.
// Token: 0x170009CB RID: 2507
// (get) Token: 0x060031F8 RID: 12792 RVA: 0x000AB9B0 File Offset: 0x000A9BB0
public KeyContainerPermissionAccessEntry Current
{
get
{
return (KeyContainerPermissionAccessEntry)this.e.Current;
}
}
/// Moves to the next element in the collection.
/// true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
// Token: 0x060031F9 RID: 12793 RVA: 0x000AB9C4 File Offset: 0x000A9BC4
public bool MoveNext()
{
return this.e.MoveNext();
}
/// Resets the enumerator to the beginning of the collection.
// Token: 0x060031FA RID: 12794 RVA: 0x000AB9D4 File Offset: 0x000A9BD4
public void Reset()
{
this.e.Reset();
}
// Token: 0x0400147B RID: 5243
private IEnumerator e;
}
}