Esempio n. 1
0
 /// <summary>
 /// Adds an export error to the current collection.
 /// </summary>
 /// <param name="error"></param>
 public void Add( ShapeError error )
 {
     List.Add( error );
 }
Esempio n. 2
0
 /// <summary>
 /// Adds an export error to the current collection.
 /// </summary>
 /// <param name="error"></param>
 public void Add(ShapeError error)
 {
     List.Add(error);
 }
Esempio n. 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 );
 }
Esempio n. 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);
        }