weatherreport.cs

来自「该源代码用 C# 写成」· CS 代码 · 共 54 行

CS
54
字号
namespace Org.InteliIM.Activities.Weather
{
	/// <summary>
	/// 天气预报
	/// </summary>
	public class WeatherReport
	{
		/// <summary>
		/// 构造函数
		/// </summary>
		public WeatherReport()
		{
			
		}
		
		private string description;
		
		/// <summary>
		/// 描述
		/// </summary>
		public string Description
		{
			get
			{
				if(this.description == null)
					this.description = "";
				
				return this.description;
			}
			set
			{
				this.description = value;
			}
		}
		
		private WeatherReportEntryCollection entries;
		
		/// <summary>
		/// 项集合
		/// </summary>
		public WeatherReportEntryCollection Entries
		{
			get
			{
				return this.entries;
			}
			set
			{
				this.entries = value;
			}
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?