Dela via


RequestCultureFeature Class

Definition

Provides the current request's culture information.

public ref class RequestCultureFeature : Microsoft::AspNetCore::Localization::IRequestCultureFeature
public class RequestCultureFeature : Microsoft.AspNetCore.Localization.IRequestCultureFeature
type RequestCultureFeature = class
    interface IRequestCultureFeature
Public Class RequestCultureFeature
Implements IRequestCultureFeature
Inheritance
RequestCultureFeature
Implements

Constructors

RequestCultureFeature(RequestCulture, IRequestCultureProvider)

Creates a new RequestCultureFeature with the specified RequestCulture.

Properties

Provider

The IRequestCultureProvider that determined the request's culture information. If the value is null then no provider was used and the request's culture was set to the value of DefaultRequestCulture.

RequestCulture

The RequestCulture of the request.

Applies to