Show / Hide Table of Contents

Class RoutingSettings<T>

Represents routing settings.

Inheritance
System.Object
RoutingSettings<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class RoutingSettings<T>
Type Parameters
T

Constructors

RoutingSettings()

Creates new routing settings.

Declaration
public RoutingSettings()

Properties

DirectionAbsolute

Gets or sets the direction absolute flag.

Declaration
public bool DirectionAbsolute { get; set; }
Property Value
System.Boolean

Remarks

When true any route not following the source or target directions will not be considered.

Methods

Clone()

Creates a deep-copy of this object.

Declaration
public RoutingSettings<T> Clone()
Returns
RoutingSettings<T>

SetMaxSearch(String, T)

Sets the maximum search weight for the given profile.

Declaration
public void SetMaxSearch(string profile, T weight)
Parameters
System.String profile

T weight

TryGetMaxSearch(String, out T)

Gets the maximum search weight for the given profile.

Declaration
public bool TryGetMaxSearch(string profile, out T weight)
Parameters
System.String profile

T weight

Returns
System.Boolean

Back to top Built by Itinero, MIT licensed.