• Home
  • API
  • Change Log
  • Github

    Show / Hide Table of Contents
    • DotNetHelper.Serialization.Csv
      • DataSourceCsv
      • ICsvSerializer

    Interface ICsvSerializer

    Namespace: DotNetHelper.Serialization.Csv
    Assembly: DotNetHelper.Serialization.Csv.dll
    Syntax
    public interface ICsvSerializer

    Methods

    | Improve this Doc View Source

    Deserialize(Stream, Int32, Boolean)

    Declaration
    dynamic Deserialize(Stream stream, int bufferSize = 1024, bool leaveStreamOpen = false)
    Parameters
    Type Name Description
    Stream stream
    Int32 bufferSize
    Boolean leaveStreamOpen
    Returns
    Type Description
    Object
    | Improve this Doc View Source

    Deserialize(Stream, Type, Int32, Boolean)

    Declaration
    object Deserialize(Stream stream, Type type, int bufferSize = 1024, bool leaveStreamOpen = false)
    Parameters
    Type Name Description
    Stream stream
    Type type
    Int32 bufferSize
    Boolean leaveStreamOpen
    Returns
    Type Description
    Object
    | Improve this Doc View Source

    Deserialize(String)

    Declaration
    dynamic Deserialize(string csv)
    Parameters
    Type Name Description
    String csv
    Returns
    Type Description
    Object
    | Improve this Doc View Source

    Deserialize(String, Type)

    Declaration
    object Deserialize(string csv, Type type)
    Parameters
    Type Name Description
    String csv
    Type type
    Returns
    Type Description
    Object
    | Improve this Doc View Source

    Deserialize<T>(Stream, Int32, Boolean)

    Declaration
    T Deserialize<T>(Stream stream, int bufferSize = 1024, bool leaveStreamOpen = false)
        where T : class
    Parameters
    Type Name Description
    Stream stream
    Int32 bufferSize
    Boolean leaveStreamOpen
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    Deserialize<T>(String)

    Declaration
    T Deserialize<T>(string csv)
        where T : class
    Parameters
    Type Name Description
    String csv
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    DeserializeToList(Stream, Int32, Boolean)

    Declaration
    List<object> DeserializeToList(Stream stream, int bufferSize = 1024, bool leaveStreamOpen = false)
    Parameters
    Type Name Description
    Stream stream
    Int32 bufferSize
    Boolean leaveStreamOpen
    Returns
    Type Description
    List<Object>
    | Improve this Doc View Source

    DeserializeToList(Stream, Type, Int32, Boolean)

    Declaration
    List<object> DeserializeToList(Stream stream, Type type, int bufferSize = 1024, bool leaveStreamOpen = false)
    Parameters
    Type Name Description
    Stream stream
    Type type
    Int32 bufferSize
    Boolean leaveStreamOpen
    Returns
    Type Description
    List<Object>
    | Improve this Doc View Source

    DeserializeToList(String)

    Declaration
    List<object> DeserializeToList(string csv)
    Parameters
    Type Name Description
    String csv
    Returns
    Type Description
    List<Object>
    | Improve this Doc View Source

    DeserializeToList(String, Type)

    Declaration
    List<object> DeserializeToList(string csv, Type type)
    Parameters
    Type Name Description
    String csv
    Type type
    Returns
    Type Description
    List<Object>
    | Improve this Doc View Source

    DeserializeToList<T>(Stream, Int32, Boolean)

    Declaration
    List<T> DeserializeToList<T>(Stream stream, int bufferSize = 1024, bool leaveStreamOpen = false)
        where T : class
    Parameters
    Type Name Description
    Stream stream
    Int32 bufferSize
    Boolean leaveStreamOpen
    Returns
    Type Description
    List<T>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    DeserializeToList<T>(String)

    Declaration
    List<T> DeserializeToList<T>(string csv)
        where T : class
    Parameters
    Type Name Description
    String csv
    Returns
    Type Description
    List<T>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    SerializeListToStream<T>(IEnumerable<T>, Int32)

    Declaration
    Stream SerializeListToStream<T>(IEnumerable<T> objs, int bufferSize = 1024)
        where T : class
    Parameters
    Type Name Description
    IEnumerable<T> objs
    Int32 bufferSize
    Returns
    Type Description
    Stream
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    SerializeListToStream<T>(IEnumerable<T>, Stream, Int32, Boolean)

    Declaration
    void SerializeListToStream<T>(IEnumerable<T> objs, Stream stream, int bufferSize = 1024, bool leaveStreamOpen = false)
        where T : class
    Parameters
    Type Name Description
    IEnumerable<T> objs
    Stream stream
    Int32 bufferSize
    Boolean leaveStreamOpen
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    SerializeListToStreamAsync<T>(IEnumerable<T>, Int32)

    Declaration
    Task<Stream> SerializeListToStreamAsync<T>(IEnumerable<T> objs, int bufferSize = 1024)
        where T : class
    Parameters
    Type Name Description
    IEnumerable<T> objs
    Int32 bufferSize
    Returns
    Type Description
    Task<Stream>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    SerializeListToStreamAsync<T>(IEnumerable<T>, Stream, Int32, Boolean)

    Declaration
    Task SerializeListToStreamAsync<T>(IEnumerable<T> objs, Stream stream, int bufferSize = 1024, bool leaveStreamOpen = false)
        where T : class
    Parameters
    Type Name Description
    IEnumerable<T> objs
    Stream stream
    Int32 bufferSize
    Boolean leaveStreamOpen
    Returns
    Type Description
    Task
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    SerializeListToString<T>(IEnumerable<T>)

    Declaration
    string SerializeListToString<T>(IEnumerable<T> obj)
        where T : class
    Parameters
    Type Name Description
    IEnumerable<T> obj
    Returns
    Type Description
    String
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    SerializeListToStringAsync<T>(IEnumerable<T>)

    Declaration
    Task<string> SerializeListToStringAsync<T>(IEnumerable<T> obj)
        where T : class
    Parameters
    Type Name Description
    IEnumerable<T> obj
    Returns
    Type Description
    Task<String>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    SerializeToStream(Object, Type, Int32)

    Declaration
    Stream SerializeToStream(object obj, Type type, int bufferSize = 1024)
    Parameters
    Type Name Description
    Object obj
    Type type
    Int32 bufferSize
    Returns
    Type Description
    Stream
    | Improve this Doc View Source

    SerializeToStream(Object, Type, Stream, Int32, Boolean)

    Declaration
    void SerializeToStream(object obj, Type type, Stream stream, int bufferSize = 1024, bool leaveStreamOpen = false)
    Parameters
    Type Name Description
    Object obj
    Type type
    Stream stream
    Int32 bufferSize
    Boolean leaveStreamOpen
    | Improve this Doc View Source

    SerializeToStream<T>(T, Int32)

    Declaration
    Stream SerializeToStream<T>(T obj, int bufferSize = 1024)
        where T : class
    Parameters
    Type Name Description
    T obj
    Int32 bufferSize
    Returns
    Type Description
    Stream
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    SerializeToStream<T>(T, Stream, Int32, Boolean)

    Declaration
    void SerializeToStream<T>(T obj, Stream stream, int bufferSize = 1024, bool leaveStreamOpen = false)
        where T : class
    Parameters
    Type Name Description
    T obj
    Stream stream
    Int32 bufferSize
    Boolean leaveStreamOpen
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    SerializeToStreamAsync(Object, Type, Int32)

    Declaration
    Task<Stream> SerializeToStreamAsync(object obj, Type type, int bufferSize = 1024)
    Parameters
    Type Name Description
    Object obj
    Type type
    Int32 bufferSize
    Returns
    Type Description
    Task<Stream>
    | Improve this Doc View Source

    SerializeToStreamAsync(Object, Type, Stream, Int32, Boolean)

    Declaration
    Task SerializeToStreamAsync(object obj, Type type, Stream stream, int bufferSize = 1024, bool leaveStreamOpen = false)
    Parameters
    Type Name Description
    Object obj
    Type type
    Stream stream
    Int32 bufferSize
    Boolean leaveStreamOpen
    Returns
    Type Description
    Task
    | Improve this Doc View Source

    SerializeToStreamAsync<T>(T, Int32)

    Declaration
    Task<Stream> SerializeToStreamAsync<T>(T obj, int bufferSize = 1024)
        where T : class
    Parameters
    Type Name Description
    T obj
    Int32 bufferSize
    Returns
    Type Description
    Task<Stream>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    SerializeToStreamAsync<T>(T, Stream, Int32, Boolean)

    Declaration
    Task SerializeToStreamAsync<T>(T obj, Stream stream, int bufferSize = 1024, bool leaveStreamOpen = false)
        where T : class
    Parameters
    Type Name Description
    T obj
    Stream stream
    Int32 bufferSize
    Boolean leaveStreamOpen
    Returns
    Type Description
    Task
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    SerializeToString(Object)

    Declaration
    string SerializeToString(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    String
    | Improve this Doc View Source

    SerializeToStringAsync(Object)

    Declaration
    Task<string> SerializeToStringAsync(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Task<String>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Joseph McNeal Jr