Bamboo.Prevalence.Indexing.FullText.Token.Token C# (CSharp) 메소드

Token() 공개 메소드

Creates a new token.
public Token ( string value, int position ) : System
value string token image
position int absolute position of the /// image in the original text
리턴 System
		public Token(string value, int position)
		{
			if (null == value)
			{
				throw new ArgumentNullException("value");
			}

			if (position < 0)
			{
				throw new ArgumentOutOfRangeException("occurrences", "position must be a positive number");
			}

			_value = value;
			_position = position;
		}