Udostępnij za pośrednictwem


ServiceCollection.ICollection<ServiceDescriptor>.Add Metoda

Definicja

Dodaje element do elementu 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

Parametry

item
ServiceDescriptor

Obiekt, który ma zostać dodany do obiektu ICollection<T>.

Implementuje

Dotyczy