Freigeben über


ServiceCollection.ICollection<ServiceDescriptor>.Add Methode

Definition

Fügt der ICollection<T> ein Element hinzu.

 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

Parameter

item
ServiceDescriptor

Das Objekt, das ICollection<T> hinzugefügt werden soll.

Implementiert

Gilt für: