#region " © Copyright 2005-07 to Marcos Meli - http://www.marcosmeli.com.ar" // Errors, suggestions, contributions, send a mail to: marcos@filehelpers.com. #endregion using System; namespace FileHelpers { /// Indicates the number of lines to be discarded at the end. /// See the Complete Attributes List for more clear info and examples of each one. /// Attributes List /// Quick Start Guide /// Examples of Use [AttributeUsage(AttributeTargets.Class)] public sealed class IgnoreLastAttribute : Attribute { internal int NumberOfLines; /// Indicates that the last line must be discarded. public IgnoreLastAttribute() : this(1) { } /// Indicates the number of last lines to be ignored at the end. /// The number of lines to be discarded at end. public IgnoreLastAttribute(int numberOfLines) { NumberOfLines = numberOfLines; } } }