ServiceCollection
public class ServiceCollection : IServiceCollection, IList<ServiceDescriptor>, ICollection<ServiceDescriptor>, IEnumerable<ServiceDescriptor>, IEnumerable
Default implementation of IServiceCollection.
Gets the number of elements contained in the .
Gets a value indicating whether the is read-only.
Gets or sets the element at the specified index.
public ServiceCollection()
Initializes a new instance of the ServiceCollection class.
Removes all items from the .
Determines whether the contains a specific value.
Copies the elements of the to an , starting at a particular index.
Returns an enumerator that iterates through the collection.
Determines the index of a specific item in the .
Inserts an item to the at the specified index.
Makes this collection read-only.
Removes the first occurrence of a specific object from the .
Removes the item at the specified index.