sms.cs

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

CS
151
字号
#region Using Directives

using System;
using System.Collections.Generic;
using System.Text;

#endregion

namespace Org.InteliIM.Applications.MiniTools.Sms
{
	/// <summary>
	/// Represents a Sms.
	/// </summary>
	public class Sms
	{
		/// <summary>
		/// Initializes a new instance of the Sms class.
		/// </summary>
		public Sms()
		{

		}
		
		private string carrier;

		/// <summary>
		/// Gets or sets the carrier.
		/// </summary>
		/// <value></value>
		public string Carrier
		{
			get
			{
				if (this.carrier == null)
					this.carrier = "";

				return this.carrier;
			}
			set
			{
				this.carrier = value;
			}
		}

		private string userName;

		/// <summary>
		/// Gets or sets the user name.
		/// </summary>
		/// <value></value>
		public string UserName
		{
			get
			{
				if (this.userName == null)
					this.userName = "";

				return this.userName;
			}
			set
			{
				this.userName = value;
			}
		}

		private string userPassword;

		/// <summary>
		/// Gets or sets the user password.
		/// </summary>
		/// <value></value>
		public string UserPassword
		{
			get
			{
				if (this.userPassword == null)
					this.userPassword = "";

				return this.userPassword;
			}
			set
			{
				this.userPassword = value;
			}
		}

		private string toMobile;

		/// <summary>
		/// Gets or sets the to mobile.
		/// </summary>
		/// <value></value>
		public string ToMobile
		{
			get
			{
				if (this.toMobile == null)
					this.toMobile = "";

				return this.toMobile;
			}
			set
			{
				this.toMobile = value;
			}
		}

		private string content;

		/// <summary>
		/// Gets or sets the content.
		/// </summary>
		/// <value></value>
		public string Content
		{
			get
			{
				if (this.content == null)
					this.content = "";

				return this.content;
			}
			set
			{
				this.content = value;
			}
		}

		private string messageType;

		/// <summary>
		/// Gets or sets the message type.
		/// </summary>
		/// <value></value>
		public string MessageType
		{
			get
			{
				if (this.messageType == null)
					this.messageType = "";

				return this.messageType;
			}
			set
			{
				this.messageType = value;
			}
		}
	}
}

⌨️ 快捷键说明

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