RequestCultureFeature 类

定义

提供当前请求的区域性信息。

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
继承
RequestCultureFeature
实现

构造函数

RequestCultureFeature(RequestCulture, IRequestCultureProvider)

使用指定的 RequestCultureFeature 创建一个新的 RequestCulture

属性

Provider

IRequestCultureProvider确定请求的区域性信息的 。 如果值为 null ,则未使用提供程序,并且请求的区域性已设置为 的值 DefaultRequestCulture

RequestCulture

请求的 RequestCulture

适用于