HostApplicationBuilder.Services Egenskap

Definition

Hämtar en samling tjänster som programmet ska skapa. Den här egenskapen är användbar för att lägga till tjänster som tillhandahålls av användare eller ramverk.

public:
 property Microsoft::Extensions::DependencyInjection::IServiceCollection ^ Services { Microsoft::Extensions::DependencyInjection::IServiceCollection ^ get(); };
public Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; }
member this.Services : Microsoft.Extensions.DependencyInjection.IServiceCollection
Public ReadOnly Property Services As IServiceCollection

Egenskapsvärde

Implementeringar

Gäller för