Table of Contents

Class TransformRouteValidationContext

Namespace
Yarp.ReverseProxy.Transforms.Builder
Assembly
Yarp.ReverseProxy.dll

State used when validating transforms for the given route.

public class TransformRouteValidationContext
Inheritance
TransformRouteValidationContext
Inherited Members

Constructors

TransformRouteValidationContext()

public TransformRouteValidationContext()

Properties

Errors

The accumulated list of validation errors for this route. Add transform validation errors here.

public IList<Exception> Errors { get; }

Property Value

IList<Exception>

Route

The route these transforms are associated with.

public RouteConfig Route { get; init; }

Property Value

RouteConfig

Services

Application services that can be used to validate transforms.

public IServiceProvider Services { get; init; }

Property Value

IServiceProvider