DeployedServicePackageHealthStateList Class

Definition

Represents a collection of DeployedServicePackageHealthState that can be individually accessed by index.

public sealed class DeployedServicePackageHealthStateList : System.Collections.Generic.ICollection<System.Fabric.Health.DeployedServicePackageHealthState>, System.Collections.Generic.IEnumerable<System.Fabric.Health.DeployedServicePackageHealthState>, System.Collections.Generic.IList<System.Fabric.Health.DeployedServicePackageHealthState>
type DeployedServicePackageHealthStateList = class
    interface IList<DeployedServicePackageHealthState>
    interface ICollection<DeployedServicePackageHealthState>
    interface seq<DeployedServicePackageHealthState>
    interface IEnumerable
Public NotInheritable Class DeployedServicePackageHealthStateList
Implements ICollection(Of DeployedServicePackageHealthState), IEnumerable(Of DeployedServicePackageHealthState), IList(Of DeployedServicePackageHealthState)
Inheritance
DeployedServicePackageHealthStateList
Implements

Properties

Count

Gets the number of elements.

IsReadOnly

Gets a value indicating whether the list is read-only.

Item[Int32]

Gets or sets the element at the specified index.

Methods

Add(DeployedServicePackageHealthState)

Adds an item to the collection.

Clear()

Removes all items from the collection.

Contains(DeployedServicePackageHealthState)

Determines whether the collection contains a specific value.

CopyTo(DeployedServicePackageHealthState[], Int32)

Copies the elements of the ICollection to an Array, starting at a particular Array index.

GetEnumerator()

Returns an enumerator that iterates through a collection.

IndexOf(DeployedServicePackageHealthState)

Determines the index of a specific item in the collection.

Insert(Int32, DeployedServicePackageHealthState)

Inserts an item at the specified index.

Remove(DeployedServicePackageHealthState)

Removes the first occurrence of a specific item from the collection.

RemoveAt(Int32)

Removes the item at the specified index.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

Extension Methods

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