IHostApplicationBuilder.Services Egenskap

Definition

Hämtar en samling tjänster som programmet ska skapa. Detta är användbart för att lägga till tillhandahållna användar- eller ramverkstjänster.

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

Gäller för