示例#1
0
 /// <summary>
 /// Adds an export error to the current collection.
 /// </summary>
 /// <param name="error"></param>
 public void Add( ShapeError error )
 {
     List.Add( error );
 }
示例#2
0
 /// <summary>
 /// Adds an export error to the current collection.
 /// </summary>
 /// <param name="error"></param>
 public void Add(ShapeError error)
 {
     List.Add(error);
 }
示例#3
0
 /// <summary>
 /// Adds a single export error, originated in the given shape.
 /// </summary>
 /// <param name="shape">Handler for the invalid shape.</param>
 /// <param name="message">Error message.</param>
 public void Add( IShapeHandler shape, string message )
 {
     ShapeError e = new ShapeError( shape, message );
     Add( e );
 }
示例#4
0
        /// <summary>
        /// Adds a single export error, originated in the given shape.
        /// </summary>
        /// <param name="shape">Handler for the invalid shape.</param>
        /// <param name="message">Error message.</param>
        public void Add(IShapeHandler shape, string message)
        {
            ShapeError e = new ShapeError(shape, message);

            Add(e);
        }