Search Results for

    Show / Hide Table of Contents

    Class CsvPropertyBase

    CsvPropertyBase corresponds to column in a CSV file Abstract class to have one common type for lists

    Inheritance
    System.Object
    CsvPropertyBase
    CsvProperty<T>
    CsvPropertyCustom<T, V>
    Namespace: FluentCsvMachine.Property
    Assembly: library.dll
    Syntax
    public abstract class CsvPropertyBase : object

    Constructors

    | Improve this Doc View Source

    CsvPropertyBase(Type, Boolean)

    See CsvPropertyBase

    Declaration
    protected CsvPropertyBase(Type propertyType, bool isCustom)
    Parameters
    Type Name Description
    Type propertyType

    Property of the column

    System.Boolean isCustom

    Is a custom mapping column

    Properties

    | Improve this Doc View Source

    ColumnName

    Name of the CSV column

    Declaration
    public string? ColumnName { get; set; }
    Property Value
    Type Description
    System.Nullable<System.String>
    | Improve this Doc View Source

    Index

    Column Index in CSV

    Declaration
    public int? Index { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    | Improve this Doc View Source

    InputFormat

    InputFormat for DateTime, ...

    Declaration
    public string? InputFormat { get; set; }
    Property Value
    Type Description
    System.Nullable<System.String>
    | Improve this Doc View Source

    IsCustom

    False: CsvProperty, True: CsvPropertyCustom

    Declaration
    public bool IsCustom { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    PropertyType

    Type of the property

    Declaration
    public Type? PropertyType { get; protected set; }
    Property Value
    Type Description
    System.Nullable<Type>

    Extension Methods

    CsvPropertyExtensions.ColumnName(CsvPropertyBase, String)
    CsvPropertyExtensions.InputFormat(CsvPropertyBase, String)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright travelr - MIT License