public Token ( string value, int position ) : System | ||
value | string | token image |
position | int | absolute position of the /// image in the original text |
return | 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;
}