measuringunitinfo.cs

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

CS
68
字号
#region Using Directives

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

#endregion

namespace Org.InteliIM.Applications.MiniTools.Banks.InfoBank.MeasuringUnits
{
    /// <summary>
    /// Represents a measuring unit's information.
    /// </summary>
    public class MeasuringUnitInfo
    {
        /// <summary>
        /// Initializes a new instance of the MeasuringUnitInfo class.
        /// </summary>
        public MeasuringUnitInfo()
        {

        }

        private string name;

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

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

        private string conversion;

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

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

    }
}

⌨️ 快捷键说明

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