共用方式為


OptionsBuilder<TOptions>.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

屬性值

適用於