ServiceCollection.ICollection<ServiceDescriptor>.Add Método

Definición

Agrega un elemento a ICollection<T>.

 virtual void System.Collections.Generic.ICollection<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>.Add(Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^ item) = System::Collections::Generic::ICollection<Microsoft::Extensions::DependencyInjection::ServiceDescriptor ^>::Add;
void ICollection<ServiceDescriptor>.Add (Microsoft.Extensions.DependencyInjection.ServiceDescriptor item);
abstract member System.Collections.Generic.ICollection<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>.Add : Microsoft.Extensions.DependencyInjection.ServiceDescriptor -> unit
override this.System.Collections.Generic.ICollection<Microsoft.Extensions.DependencyInjection.ServiceDescriptor>.Add : Microsoft.Extensions.DependencyInjection.ServiceDescriptor -> unit
Sub Add (item As ServiceDescriptor) Implements ICollection(Of ServiceDescriptor).Add

Parámetros

item
ServiceDescriptor

Objeto que se va a agregar a ICollection<T>.

Implementaciones

Se aplica a