provincetransportendpoint.cs
来自「这个版本(InteliIM Open Kernel Release 2)是目前最」· CS 代码 · 共 85 行
CS
85 行
#region Using Directives
using System;
using System.Collections.Generic;
using System.Text;
#endregion
namespace Org.InteliIM.Applications.Tourism.Transport
{
/// <summary>
/// Represents a province transport end point.
/// </summary>
public class ProvinceTransportEndPoint: TransportEndPoint
{
/// <summary>
/// Initializes a new instance of the ProvinceTransportEndPoint class.
/// </summary>
public ProvinceTransportEndPoint()
{
}
private string abbreviation;
/// <summary>
/// Gets or sets the abbreviation.
/// </summary>
/// <value></value>
public string Abbreviation
{
get
{
if (this.abbreviation == null)
this.abbreviation = "";
return this.abbreviation;
}
set
{
this.abbreviation = value;
}
}
private bool isMunicipality = false;
/// <summary>
/// Gets or sets whether municipality or not.
/// </summary>
/// <value></value>
public bool IsMunicipality
{
get
{
return this.isMunicipality;
}
set
{
this.isMunicipality = value;
}
}
private CityTransportEndPoint provinceCity;
/// <summary>
/// Gets or sets the province city.
/// </summary>
/// <value></value>
public CityTransportEndPoint ProvinceCity
{
get
{
if (this.provinceCity == null)
this.provinceCity = new CityTransportEndPoint();
return this.provinceCity;
}
set
{
this.provinceCity = value;
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?