weatherreport.cs

来自「这个版本(InteliIM Open Kernel Release 2)是目前最」· CS 代码 · 共 60 行

CS
60
字号
#region Using Directives

using System.Collections.Generic; 

#endregion

namespace Org.InteliIM.Applications.MiniTools.Weather
{
	/// <summary>
	/// Represents a weather report.
	/// </summary>
	public class WeatherReport
	{
		/// <summary>
		/// Initializes a new instance of the WeatherReport class.
		/// </summary>
		public WeatherReport()
		{
			
		}
		
		private string description;
		
		/// <summary>
		/// Gets or sets the description.
		/// </summary>
		public string Description
		{
			get
			{
				if(this.description == null)
					this.description = "";
				
				return this.description;
			}
			set
			{
				this.description = value;
			}
		}
		
		private Collection<WeatherReportEntry> entries;
		
		/// <summary>
		/// Gets or sets the weather report entries collection.
		/// </summary>
		public Collection<WeatherReportEntry> Entries
		{
			get
			{
				return this.entries;
			}
			set
			{
				this.entries = value;
			}
		}
	}
}

⌨️ 快捷键说明

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