Bagikan melalui


RepairTaskList Class

Definition

Represents a list of RepairTask objects.

This class supports the Service Fabric platform; it is not meant to be called directly from your code.

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

Properties

Count

Gets the number of elements contained in the RepairTaskList.

IsReadOnly

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

Item[Int32]

Gets or sets the element at the specified index.

Methods

Add(RepairTask)

Adds an item to the RepairTaskList.

Clear()

Removes all items from the RepairTaskList.

Contains(RepairTask)

Determines whether the RepairTaskList contains a specific value.

CopyTo(RepairTask[], Int32)

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

GetEnumerator()

Returns an enumerator that iterates through the collection.

IndexOf(RepairTask)

Determines the index of a specific item in the RepairTaskList.

Insert(Int32, RepairTask)

Inserts an item to the RepairTaskList at the specified index.

Remove(RepairTask)

Removes the first occurrence of a specific object from the RepairTaskList.

RemoveAt(Int32)

Removes the item at the specified index.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the 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