Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:System.Object"/> class.
 /// </summary>
 public XamlToken(XamlTokenType tokenType, string token, uint lineNumber, uint position)
 {
     TokenType = tokenType;
     Token = token;
     LineNumber = lineNumber;
     Position = position;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:System.Object"/> class.
 /// </summary>
 public XamlToken(XamlTokenType tokenType, uint lineNumber, uint position)
     : this(tokenType, null, lineNumber, position)
 {
 }