using System;
using System.Collections;
namespace System.Security.AccessControl
{
/// Represents a collection of objects.
// Token: 0x020004AD RID: 1197
public sealed class AuthorizationRuleCollection : ReadOnlyCollectionBase
{
// Token: 0x06002CB8 RID: 11448 RVA: 0x00092F84 File Offset: 0x00091184
private AuthorizationRuleCollection(AuthorizationRule[] rules)
{
base.InnerList.AddRange(rules);
}
/// Gets the object at the specified index of the collection.
/// The object at the specified index.
/// The zero-based index of the object to get.
// Token: 0x170008BF RID: 2239
public AuthorizationRule this[int index]
{
get
{
return (AuthorizationRule)base.InnerList[index];
}
}
/// Copies the contents of the collection to an array.
/// An array to which to copy the contents of the collection.
/// The zero-based index from which to begin copying.
// Token: 0x06002CBA RID: 11450 RVA: 0x00092FAC File Offset: 0x000911AC
public void CopyTo(AuthorizationRule[] rules, int index)
{
base.InnerList.CopyTo(rules, index);
}
}
}