共用方式為


IdentityBuilder.Services 屬性

定義

取得附加 IServiceCollection 至的服務。

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

屬性值

服務 IServiceCollection 會附加至 。

適用於