共用方式為


DefaultHttpContext.RequestServices 屬性

定義

取得或設定 , IServiceProvider 提供要求之服務容器的存取權。

public:
 virtual property IServiceProvider ^ RequestServices { IServiceProvider ^ get(); void set(IServiceProvider ^ value); };
public override IServiceProvider RequestServices { get; set; }
member this.RequestServices : IServiceProvider with get, set
Public Overrides Property RequestServices As IServiceProvider

屬性值

適用於