Class ServiceCollection
Default implementation of IServiceCollection.
Implements
Inherited Members
Namespace: Unity.AppUI.MVVM
Assembly: solution.dll
Syntax
public class ServiceCollection : IServiceCollection, IList<ServiceDescriptor>, ICollection<ServiceDescriptor>, IEnumerable<ServiceDescriptor>, IEnumerable
  Properties
| Name | Description | 
|---|---|
| Count | The number of services in the collection.  | 
      
| IsReadOnly | The collection is not read-only.  | 
      
| this[int] | Get or set a service in the collection.  | 
      
Methods
| Name | Description | 
|---|---|
| Add(ServiceDescriptor) | Add a service to the collection.  | 
      
| Clear() | Clear all services from the collection.  | 
      
| Contains(ServiceDescriptor) | Check if the collection contains a service.  | 
      
| CopyTo(ServiceDescriptor[], int) | Copy the services to an array.  | 
      
| GetEnumerator() | Get an enumerator for the services.  | 
      
| IndexOf(ServiceDescriptor) | Get the index of a service in the collection.  | 
      
| Insert(int, ServiceDescriptor) | Insert a service into the collection.  | 
      
| Remove(ServiceDescriptor) | Remove a service from the collection.  | 
      
| RemoveAt(int) | Remove a service from the collection.  |