MapsSearchModelFactory.Intersection Method

Definition

Initializes a new instance of Intersection.

public static Azure.Maps.Search.Models.Intersection Intersection (string baseStreet = default, string secondaryStreet1 = default, string secondaryStreet2 = default, string intersectionType = default, string displayName = default);
static member Intersection : string * string * string * string * string -> Azure.Maps.Search.Models.Intersection
Public Shared Function Intersection (Optional baseStreet As String = Nothing, Optional secondaryStreet1 As String = Nothing, Optional secondaryStreet2 As String = Nothing, Optional intersectionType As String = Nothing, Optional displayName As String = Nothing) As Intersection

Parameters

baseStreet
String

Primary street for the location.

secondaryStreet1
String

The first intersecting street.

secondaryStreet2
String

If any, the second intersecting street.

intersectionType
String

Type of intersection.

displayName
String

Complete name of the intersection.

Returns

A new Intersection instance for mocking.

Applies to