#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 a diferent delimiter for this field. /// See the Complete Attributes List for more clear info and examples of each one. /// Attributes List /// Quick Start Guide /// Examples of Use [AttributeUsage(AttributeTargets.Field)] public sealed class FieldDelimiterAttribute : FieldAttribute { internal string mSeparator; /// Indicates a diferent delimiter for this field. /// The separator string used to split the fields of the record. public FieldDelimiterAttribute(string separator) { if (separator == null || separator.Length == 0) throw new BadUsageException("The separator parameter of the FieldDelimited attribute can't be null or empty"); else this.mSeparator = separator; } } }