public MockRecordMapper( IRecordFactory recordFactory, IFieldParser fieldParser = null, IFieldDisplayNameProvider fieldDisplayNameProvider = null, IFieldTransformer fieldTransformer = null) : base(recordFactory, fieldParser, fieldDisplayNameProvider, fieldTransformer) { }
public ObjectRecordMapper( IRecordFactory recordFactory, IFieldParser fieldParser = null, IFieldDisplayNameProvider fieldDisplayNameProvider = null, IFieldTransformer fieldTransformer = null, ISourceFieldNameProvider sourceFieldNameProvider = null) : base(recordFactory, fieldParser, fieldDisplayNameProvider, fieldTransformer) { this.SourceFieldNameProvider = sourceFieldNameProvider ?? new SourceFieldNameProvider(); }
public FixedWidthBinaryRecordMapper( IRecordFactory recordFactory, IFieldParser fieldParser = null, IFieldDisplayNameProvider fieldDisplayNameProvider = null, IFieldTransformer fieldTransformer = null, ISourceFieldLayoutProvider sourceFieldLayoutProvider = null) : base(recordFactory, fieldParser ?? new BinaryFieldParser(), fieldDisplayNameProvider, fieldTransformer) { this.SourceFieldLayoutProvider = sourceFieldLayoutProvider ?? new SourceFieldLayoutProvider(); }
public DelimitedTextRecordMapper( IRecordFactory recordFactory, string delimiter = ",", IFieldParser fieldParser = null, IFieldDisplayNameProvider fieldDisplayNameProvider = null, IFieldTransformer fieldTransformer = null, ISourceRecordFieldCountProvider sourceRecordFieldCountProvider = null, ISourceFieldOrdinalProvider sourceFieldOrdinalProvider = null) : base(recordFactory, fieldParser, fieldDisplayNameProvider, fieldTransformer) { this.Delimiter = delimiter; this.SourceRecordFieldCountProvider = sourceRecordFieldCountProvider ?? new SourceRecordFieldCountProvider(); this.SourceFieldOrdinalProvider = sourceFieldOrdinalProvider ?? new SourceFieldOrdinalProvider(); }
public RecordMapper(IRecordFactory recordFactory, IFieldParser fieldParser = null, IFieldDisplayNameProvider fieldDisplayNameProvider = null, IFieldTransformer fieldTransformer = null) { this.RecordFactory = recordFactory; this.FieldParser = fieldParser ?? new FieldParser(); this.FieldDisplayNameProvider = fieldDisplayNameProvider ?? new FieldDisplayNameProvider(); this.FieldTransformer = fieldTransformer ?? new FieldTransformer(); }
public DataAnnotatedRecordValidator(IFieldDisplayNameProvider fieldDisplayNameProvider = null) { this.FieldDisplayNameProvider = fieldDisplayNameProvider; }