-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCityItem.cs
More file actions
24 lines (21 loc) · 803 Bytes
/
CityItem.cs
File metadata and controls
24 lines (21 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (c) BootstrapBlazor & Argo Zhang (argo@live.ca). All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Website: https://www.blazor.zone or https://argozhang.github.io/
namespace BootstrapBlazor.Components;
/// <summary>
/// <para lang="zh">城市项</para>
/// <para lang="en">City item</para>
/// </summary>
readonly record struct CityItem
{
/// <summary>
/// <para lang="zh">获得 名称</para>
/// <para lang="en">Gets the name</para>
/// </summary>
public string Name { get; init; }
/// <summary>
/// <para lang="zh">获得 拼音集合</para>
/// <para lang="en">Gets the pinyin collection</para>
/// </summary>
public HashSet<string> PinYin { get; init; }
}