Show / Hide Table of Contents

Class DestinationModel

Immutable representation of the portions of a destination that only change in reaction to configuration changes (e.g. address).

Inheritance
Object
DestinationModel
Namespace: Yarp.ReverseProxy.Model
Assembly: Yarp.ReverseProxy.dll
Syntax
public sealed class DestinationModel : object
Remarks

All members must remain immutable to avoid thread safety issues. Instead, instances of DestinationModel are replaced in their entirety when values need to change.

Constructors

| Improve this Doc View Source

DestinationModel(DestinationConfig)

Creates a new instance. This constructor is for tests and infrastructure, this type is normally constructed by the configuration loading infrastructure.

Declaration
public DestinationModel(DestinationConfig destination)
Parameters
Type Name Description
DestinationConfig destination

Properties

| Improve this Doc View Source

Config

This destination's configuration.

Declaration
public DestinationConfig Config { get; }
Property Value
Type Description
DestinationConfig
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX