#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 used for write operations.
/// 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 FieldAlignAttribute : Attribute
{
#region " Constructors "
/// Uses the ' ' char to align.
/// The position of the alignment.
public FieldAlignAttribute(AlignMode align) : this(align, ' ')
{
}
/// You can indicate the align char.
/// The position of the alignment.
/// The character used to align.
public FieldAlignAttribute(AlignMode align, char alignChar)
{
Align = align;
AlignChar = alignChar;
}
#endregion
/// The position of the alignment.
internal AlignMode Align;
/// The character used to align.
internal char AlignChar;
}
}