entryandscore.cs

来自「用C#编写的一个款搜索engine的源代码!摘自<Visual c#200」· CS 代码 · 共 42 行

CS
42
字号
using System;

namespace SECompare.Structure
{
	/// <summary>
	/// Summary description for EntryAndScore.
	/// </summary>
	public class EntryAndScore
	{
		private String m_Entry;
		private float  m_Score;

		/// <summary>
		/// Query Words.
		/// </summary>
		public String Entry
		{
			get
			{
				return this.m_Entry;
			}
		}

		/// <summary>
		/// Score. If the score makes no sense, score = float.NaN
		/// </summary>
		public float Score
		{
			get
			{
				return this.m_Score;
			}
		}

		public EntryAndScore(String Entry,float Score)
		{
			this.m_Entry = Entry;
			this.m_Score = Score;
		}
	}
}

⌨️ 快捷键说明

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