/// <summary> /// Initializes a new instance of the <see cref="CommentSymbol"/> class. /// </summary> /// <param name="snapshot">The text snapshot from which the symbol was retrieved.</param> /// <param name="type">The symbol's type.</param> /// <param name="position">The symbol's position in the source text.</param> /// <param name="nesting">The symbol's nesting level.</param> public CommentSymbol(ITextSnapshot snapshot, CommentSymbolType type, Int32 position, Int32 nesting) { this.Snapshot = snapshot; this.Type = type; this.Position = position; this.Nesting = nesting; }