Megosztás a következőn keresztül:


DefaultHttpContext.RequestServices Property

Definition

Gets or sets the IServiceProvider that provides access to the request's service container.

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

Property Value

Applies to