IHost.Services 属性

定义

程序配置的服务。The programs configured services.

public:
 property IServiceProvider ^ Services { IServiceProvider ^ get(); };
public IServiceProvider Services { get; }
member this.Services : IServiceProvider
Public ReadOnly Property Services As IServiceProvider

属性值

IServiceProvider

适用于