# C1.DataConnector.CSVParser.CSVStreamParser

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_DataConnector_CSVParser_CSVStreamParser" data-uid="C1.DataConnector.CSVParser.CSVStreamParser" class="text-break">CSVStreamParser Class
</h1>
  <div class="markdown level0 summary"><p>CSV streaming fashion parser</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">CSVStreamParser</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.DataConnector.CSVParser.html">C1.DataConnector.CSVParser</a></h6>
  <h6><strong>Assembly</strong>: C1.DataConnector.dll</h6>
  <h5 id="C1_DataConnector_CSVParser_CSVStreamParser_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CSVStreamParser</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CSVStreamParser</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataConnector_CSVParser_CSVStreamParser__ctor_System_Boolean_System_Int32_System_Boolean_" data-uid="C1.DataConnector.CSVParser.CSVStreamParser.#ctor(System.Boolean,System.Int32,System.Boolean)">
          <a class="xref" href="C1.DataConnector.CSVParser.CSVStreamParser.-ctor.html#C1_DataConnector_CSVParser_CSVStreamParser__ctor_System_Boolean_System_Int32_System_Boolean_">CSVStreamParser(bool, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Constructor that takes three args</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataConnector_CSVParser_CSVStreamParser_Columns" data-uid="C1.DataConnector.CSVParser.CSVStreamParser.Columns">
          <a class="xref" href="C1.DataConnector.CSVParser.CSVStreamParser.Columns.html#C1_DataConnector_CSVParser_CSVStreamParser_Columns">Columns</a>
        </td>
        <td class="markdown level1 summary"><p>The column schema</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_CSVParser_CSVStreamParser_ContainsHeaders" data-uid="C1.DataConnector.CSVParser.CSVStreamParser.ContainsHeaders">
          <a class="xref" href="C1.DataConnector.CSVParser.CSVStreamParser.ContainsHeaders.html#C1_DataConnector_CSVParser_CSVStreamParser_ContainsHeaders">ContainsHeaders</a>
        </td>
        <td class="markdown level1 summary"><p>A boolean indicating whether the CSV contains headers or not.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_CSVParser_CSVStreamParser_Encoding" data-uid="C1.DataConnector.CSVParser.CSVStreamParser.Encoding">
          <a class="xref" href="C1.DataConnector.CSVParser.CSVStreamParser.Encoding.html#C1_DataConnector_CSVParser_CSVStreamParser_Encoding">Encoding</a>
        </td>
        <td class="markdown level1 summary"><p>The encoding used by the file</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_CSVParser_CSVStreamParser_HasNext" data-uid="C1.DataConnector.CSVParser.CSVStreamParser.HasNext">
          <a class="xref" href="C1.DataConnector.CSVParser.CSVStreamParser.HasNext.html#C1_DataConnector_CSVParser_CSVStreamParser_HasNext">HasNext</a>
        </td>
        <td class="markdown level1 summary"><p>Whether has next page or not</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_CSVParser_CSVStreamParser_MaxItems" data-uid="C1.DataConnector.CSVParser.CSVStreamParser.MaxItems">
          <a class="xref" href="C1.DataConnector.CSVParser.CSVStreamParser.MaxItems.html#C1_DataConnector_CSVParser_CSVStreamParser_MaxItems">MaxItems</a>
        </td>
        <td class="markdown level1 summary"><p>The maximum number of items per page</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataConnector_CSVParser_CSVStreamParser_TrimValues" data-uid="C1.DataConnector.CSVParser.CSVStreamParser.TrimValues">
          <a class="xref" href="C1.DataConnector.CSVParser.CSVStreamParser.TrimValues.html#C1_DataConnector_CSVParser_CSVStreamParser_TrimValues">TrimValues</a>
        </td>
        <td class="markdown level1 summary"><p>A boolean indicating wheter to trim the field values or not.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataConnector_CSVParser_CSVStreamParser_Parse_System_IO_Stream_System_Text_Encoding_" data-uid="C1.DataConnector.CSVParser.CSVStreamParser.Parse(System.IO.Stream,System.Text.Encoding)">
          <a class="xref" href="C1.DataConnector.CSVParser.CSVStreamParser.Parse.html#C1_DataConnector_CSVParser_CSVStreamParser_Parse_System_IO_Stream_System_Text_Encoding_">Parse(Stream, Encoding)</a>
        </td>
        <td class="markdown level1 summary"><p>The parsing method</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataConnector_CSVParser_CSVStreamParser_OnItemFired" data-uid="C1.DataConnector.CSVParser.CSVStreamParser.OnItemFired">
          <a class="xref" href="C1.DataConnector.CSVParser.CSVStreamParser.OnItemFired.html">OnItemFired</a>
        </td>
        <td class="markdown level1 summary"><p>On Item Fired event</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
