/// <summary>
        /// Appends the given item to the end of the collection.
        /// </summary>
        /// <param name="item">The ErrorItem to be added to the collection.</param>
        public void Add(ErrorItem item)
        {
            UiExceptionHelper.CheckNotNull(item, "item");
            _items.Add(item);

            return;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Create an instance of ErrorItem that
        /// has source code attachments.
        /// </summary>
        public ErrorItem(string path, int lineNumber)
        {
            UiExceptionHelper.CheckNotNull(path, "path");

            _path = path;
            _line = lineNumber;

            return;
        }