-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SearchAddressResult.cs
33 lines (28 loc) · 1.16 KB
/
SearchAddressResult.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Maps.Common;
namespace Azure.Maps.Search.Models
{
/// <summary> This object is returned from a successful Search calls. </summary>
public partial class SearchAddressResult
{
/// <summary> Initializes a new instance of <see cref="SearchAddressResult"/>. </summary>
internal SearchAddressResult()
{
Results = new ChangeTrackingList<SearchAddressResultItem>();
}
/// <summary> Initializes a new instance of <see cref="SearchAddressResult"/>. </summary>
/// <param name="summary"> Summary object for a Search API response. </param>
/// <param name="results"> A list of Search API results. </param>
internal SearchAddressResult(SearchSummary summary, IReadOnlyList<SearchAddressResultItem> results)
{
Summary = summary;
Results = results;
}
/// <summary> A list of Search API results. </summary>
public IReadOnlyList<SearchAddressResultItem> Results { get; }
}
}