AuthorizationRules AuthorizationRules AuthorizationRules AuthorizationRules Class

Definition

Represents a collection of AuthorizationRule.

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

Constructors

AuthorizationRules() AuthorizationRules() AuthorizationRules() AuthorizationRules()

Initializes a new instance of the AuthorizationRules class.

AuthorizationRules(IEnumerable<AuthorizationRule>) AuthorizationRules(IEnumerable<AuthorizationRule>) AuthorizationRules(IEnumerable<AuthorizationRule>) AuthorizationRules(IEnumerable<AuthorizationRule>)

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

Fields

innerCollection innerCollection innerCollection innerCollection

Specifies the inner collection.

Serializer Serializer Serializer Serializer

Specifies the serializer for serializing and deserializing the object.

Properties

Count Count Count Count

Gets or sets the number of AuthorizationRule contained in the collection.

IsReadOnly IsReadOnly IsReadOnly IsReadOnly

Gets or sets whether the AuthorizationRules is read only.

RequiresEncryption RequiresEncryption RequiresEncryption RequiresEncryption

Gets a value that indicates whether the AuthorizationRules requires encryption.

Methods

Add(AuthorizationRule) Add(AuthorizationRule) Add(AuthorizationRule) Add(AuthorizationRule)

Adds the specified AuthorizationRule into the collection.

Clear() Clear() Clear() Clear()

Clears all elements in the collection.

Contains(AuthorizationRule) Contains(AuthorizationRule) Contains(AuthorizationRule) Contains(AuthorizationRule)

Determines whether the specified item exists in the collection.

CopyTo(AuthorizationRule[], Int32) CopyTo(AuthorizationRule[], Int32) CopyTo(AuthorizationRule[], Int32) CopyTo(AuthorizationRule[], Int32)

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

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Gets the enumerator that iterates through the collection.

GetRules(String) GetRules(String) GetRules(String) GetRules(String)

Gets the set of AuthorizationRule that matches the specified value.

GetRules(Predicate<AuthorizationRule>) GetRules(Predicate<AuthorizationRule>) GetRules(Predicate<AuthorizationRule>) GetRules(Predicate<AuthorizationRule>)

Gets the sets of AuthorizationRule.

HasEqualRuntimeBehavior(AuthorizationRules) HasEqualRuntimeBehavior(AuthorizationRules) HasEqualRuntimeBehavior(AuthorizationRules) HasEqualRuntimeBehavior(AuthorizationRules)

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

Remove(AuthorizationRule) Remove(AuthorizationRule) Remove(AuthorizationRule) Remove(AuthorizationRule)

Removes the specified AuthorizationRule from the collection.

TryGetSharedAccessAuthorizationRule(String, SharedAccessAuthorizationRule) TryGetSharedAccessAuthorizationRule(String, SharedAccessAuthorizationRule) TryGetSharedAccessAuthorizationRule(String, SharedAccessAuthorizationRule) TryGetSharedAccessAuthorizationRule(String, SharedAccessAuthorizationRule)

Gets the rule associated with the specified key.

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Gets the enumerator that iterates through the collection.

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

ToCommaSeparatedString<T>(IEnumerable<T>) ToCommaSeparatedString<T>(IEnumerable<T>) ToCommaSeparatedString<T>(IEnumerable<T>) ToCommaSeparatedString<T>(IEnumerable<T>)

Converts the elements of a collection to strings and concatenates them into a comma-separated list, or returns null for null or empty collections.

Applies to