Share via


AuthorizationRules Class

Definition

Represents a collection of AuthorizationRule.

[System.Runtime.Serialization.CollectionDataContract(ItemName="AuthorizationRule", Name="AuthorizationRules", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")]
public class AuthorizationRules : System.Collections.Generic.ICollection<Microsoft.Azure.NotificationHubs.Messaging.AuthorizationRule>, System.Collections.Generic.IEnumerable<Microsoft.Azure.NotificationHubs.Messaging.AuthorizationRule>
[<System.Runtime.Serialization.CollectionDataContract(ItemName="AuthorizationRule", Name="AuthorizationRules", Namespace="http://schemas.microsoft.com/netservices/2010/10/servicebus/connect")>]
type AuthorizationRules = class
    interface ICollection<AuthorizationRule>
    interface seq<AuthorizationRule>
    interface IEnumerable
Public Class AuthorizationRules
Implements ICollection(Of AuthorizationRule), IEnumerable(Of AuthorizationRule)
Inheritance
AuthorizationRules
Attributes
Implements

Constructors

AuthorizationRules()

Initializes a new instance of the AuthorizationRules class.

AuthorizationRules(IEnumerable<AuthorizationRule>)

Initializes a new instance of the AuthorizationRules class with a list of AuthorizationRule.

Fields

innerCollection

The inner collection

Serializer

The serializer

Properties

Count

Gets the number of elements contained in the ICollection<T>.

IsReadOnly

Gets a value indicating whether the ICollection<T> is read-only.

RequiresEncryption

Gets a value indicating whether [requires encryption].

Methods

Add(AuthorizationRule)

Adds the specified AuthorizationRule into the collection.

Clear()

Clears all elements in the collection.

Contains(AuthorizationRule)

Determines whether the specified item exists in the collection.

CopyTo(AuthorizationRule[], Int32)

Copies the elements into an array starting at the specified array index.

GetEnumerator()

Returns an enumerator that iterates through the collection.

GetRules(Predicate<AuthorizationRule>)

Gets the sets of AuthorizationRule.

GetRules(String)

Gets the set of AuthorizationRule that matches the specified value.

HasEqualRuntimeBehavior(AuthorizationRules)

Determines whether the specified AuthorizationRules has equal runtime behavior as this current object.

Remove(AuthorizationRule)

Removes the specified AuthorizationRule from the collection.

TryGetSharedAccessAuthorizationRule(String, SharedAccessAuthorizationRule)

Gets the rule associated with the specified key.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Applies to