AvoidFavor Class Reference

Properties

string State[get, set]
 Gets or sets the state to avoid or favor, or the state that the Road is in. More...
 
string Road[get, set]
 Gets or sets the route to avoid or favor. More...
 
AFType Type[get, set]
 Gets or sets whether this is an Avoid or Favor. More...
 
string Label[get, set]
 Gets or sets the label associated with this avoid/favor. This is optional. More...
 
uint RouteNumber[get, set]
 Gets or sets the route number. More...
 

Detailed Description

Represents an avoid or favor used in routing to avoid or favor certain routes.

Property Documentation

◆ State

string State
getset

Gets or sets the state to avoid or favor, or the state that the Road is in.

◆ Road

string Road
getset

Gets or sets the route to avoid or favor.

US 287 for interstate 287, US 22 for US highway route 22.

◆ Type

AFType Type
getset

Gets or sets whether this is an Avoid or Favor.

Although the AFType is a flagged enumeration, it should only contain a single value when used here.

◆ Label

string Label
getset

Gets or sets the label associated with this avoid/favor. This is optional.

◆ RouteNumber

uint RouteNumber
getset

Gets or sets the route number.

Internal implementation. It is derived from Road name.