Class TransformRouteValidationContext
State used when validating transforms for the given route.
Inheritance
System.Object
TransformRouteValidationContext
Namespace: Yarp.ReverseProxy.Transforms.Builder
Assembly: Yarp.ReverseProxy.dll
Syntax
public class TransformRouteValidationContext : object
Properties
| Improve this Doc View SourceErrors
The accumulated list of validation errors for this route. Add transform validation errors here.
Declaration
public IList<Exception> Errors { get; }
Property Value
Type | Description |
---|---|
IList<Exception> |
Route
The route these transforms are associated with.
Declaration
public RouteConfig Route { get; set; }
Property Value
Type | Description |
---|---|
RouteConfig |
Services
Application services that can be used to validate transforms.
Declaration
public IServiceProvider Services { get; set; }
Property Value
Type | Description |
---|---|
IServiceProvider |