Share via


AddressCollection Structure

 

Wraps the host.Addresses list.

Namespace:   Microsoft.Owin.BuilderProperties
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Syntax

public struct AddressCollection : IEnumerable<Address>, IEnumerable
public value struct AddressCollection : IEnumerable<Address>, 
    IEnumerable
[<Sealed>]
type AddressCollection = 
    struct
        interface IEnumerable<Address>
        interface IEnumerable
    end
Public Structure AddressCollection
    Implements IEnumerable(Of Address), IEnumerable

Constructors

Name Description
System_CAPS_pubmethod AddressCollection(IList<IDictionary<String, Object>>)

Initializes a new instance of the AddressCollection class.

Properties

Name Description
System_CAPS_pubproperty Count

Gets the number of elements in the collection.

System_CAPS_pubproperty Item[Int32]

Gets the item with the specified index from the collection.

System_CAPS_pubproperty List

Gets the underlying address list.

Methods

Name Description
System_CAPS_pubmethod Add(Address)

Adds the specified address to the collection.

System_CAPS_pubmethodSystem_CAPS_static Create()

Creates a new empty instance of AddressCollection.

System_CAPS_pubmethod Equals(AddressCollection)

Determines whether the current collection is equal to the specified collection.

System_CAPS_pubmethod Equals(Object)

Determines whether the current collection is equal to the specified object.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethod GetEnumerator()

Gets the enumerator that iterates through the collection.

System_CAPS_pubmethod GetHashCode()

Gets the hash code for this instance.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from ValueType.)

Operators

Name Description
System_CAPS_puboperatorSystem_CAPS_static Equality(AddressCollection, AddressCollection)

Determines whether the first collection is equal to the second collection.

System_CAPS_puboperatorSystem_CAPS_static Inequality(AddressCollection, AddressCollection)

Determines whether the first collection is not equal to the second collection.

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod IEnumerable.GetEnumerator()

Gets the enumerator that iterates through the collection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Owin.BuilderProperties Namespace

Return to top