This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,37 @@
using System;
using System.Collections;
namespace System.Security.AccessControl
{
/// <summary>Represents a collection of <see cref="T:System.Security.AccessControl.AuthorizationRule" /> objects.</summary>
// 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);
}
/// <summary>Gets the <see cref="T:System.Security.AccessControl.AuthorizationRule" /> object at the specified index of the collection.</summary>
/// <returns>The <see cref="T:System.Security.AccessControl.AuthorizationRule" /> object at the specified index.</returns>
/// <param name="index">The zero-based index of the <see cref="T:System.Security.AccessControl.AuthorizationRule" /> object to get.</param>
// Token: 0x170008BF RID: 2239
public AuthorizationRule this[int index]
{
get
{
return (AuthorizationRule)base.InnerList[index];
}
}
/// <summary>Copies the contents of the collection to an array.</summary>
/// <param name="rules">An array to which to copy the contents of the collection.</param>
/// <param name="index">The zero-based index from which to begin copying.</param>
// Token: 0x06002CBA RID: 11450 RVA: 0x00092FAC File Offset: 0x000911AC
public void CopyTo(AuthorizationRule[] rules, int index)
{
base.InnerList.CopyTo(rules, index);
}
}
}