---
title: "クラス言語ルート制約"
slug: "sitecore.aspnet.renderingengine.localization.languagerouteconstraint"
abstract: ""
---
# クラス言語ルート制約

## 相続

System.Object

言語ルート制約

### 実装

Microsoft。AspNetCore.Routing.IRouteConstraint

Microsoft。AspNetCore.Routing.IParameterPolicy

#### **名前空間**:Sitecore。AspNet.RenderingEngine.ローカライズ

##### **アセンブリ**:Sitecore。AspNet.RenderingEngine.dll

##### 構文論

public class LanguageRouteConstraint : Object

### コンストラクター

#### LanguageRouteConstraint()

##### 宣言

public LanguageRouteConstraint()

### 方法

#### Match(HttpContext, IRouter, String, RouteValueDictionary, RouteDirection)

##### 宣言

public bool Match(HttpContext httpContext, IRouter route, string routeKey, RouteValueDictionary values, RouteDirection routeDirection)

##### パラメータ

種類

名称

概要

Microsoft。AspNetCore.http.HttpContext

httpコンテキスト

Microsoft。AspNetCore.Routing.IRouter

ルート

System.String

routeKey

Microsoft。AspNetCore.Routing.RouteValueDictionary

価値観

Microsoft。AspNetCore.Routing.RouteDirection

ルート方向

##### 返還

種類

概要

System.Boolean(システム・ブール)

### 実装

Microsoft。AspNetCore.Routing.IRouteConstraint

Microsoft。AspNetCore.Routing.IParameterPolicy