#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 that this class represents a fixed length record.
/// 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 FixedLengthRecordAttribute : TypedRecordAttribute
{
internal FixedMode mFixedMode = FixedMode.ExactLength;
/// Indicates that this class represents a fixed length record. By default requieres that the records has the length equals to the sum of each field length.
public FixedLengthRecordAttribute()
{}
/// Indicates that this class represents a fixed length record with the specified variable record behavior.
/// The used for variable length records.
public FixedLengthRecordAttribute(FixedMode mode)
{
mFixedMode = mode;
}
}
}