# C1.Web.Api.Data.ItemsSourceDataProvider

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Api_Data_ItemsSourceDataProvider" data-uid="C1.Web.Api.Data.ItemsSourceDataProvider" class="text-break">ItemsSourceDataProvider Class
</h1>
  <div class="markdown level0 summary"><p>The data provider which can provider items as the data source.</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">ItemsSourceDataProvider</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.Web.Api.Data.IDataProvider.html">IDataProvider</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Api.Data.html">C1.Web.Api.Data</a></h6>
  <h6><strong>Assembly</strong>: C1.Web.Api.dll</h6>
  <h5 id="C1_Web_Api_Data_ItemsSourceDataProvider_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ItemsSourceDataProvider : IDataProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ItemsSourceDataProvider
    Implements IDataProvider</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_Web_Api_Data_ItemsSourceDataProvider__ctor_System_Collections_IEnumerable_" data-uid="C1.Web.Api.Data.ItemsSourceDataProvider.#ctor(System.Collections.IEnumerable)">
          <a class="xref" href="C1.Web.Api.Data.ItemsSourceDataProvider.-ctor.html#C1_Web_Api_Data_ItemsSourceDataProvider__ctor_System_Collections_IEnumerable_">ItemsSourceDataProvider(IEnumerable)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an <a class="xref" href="C1.Web.Api.Data.ItemsSourceDataProvider.html">ItemsSourceDataProvider</a> with items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Api_Data_ItemsSourceDataProvider__ctor_System_Func_System_Collections_IEnumerable__" data-uid="C1.Web.Api.Data.ItemsSourceDataProvider.#ctor(System.Func{System.Collections.IEnumerable})">
          <a class="xref" href="C1.Web.Api.Data.ItemsSourceDataProvider.-ctor.html#C1_Web_Api_Data_ItemsSourceDataProvider__ctor_System_Func_System_Collections_IEnumerable__">ItemsSourceDataProvider(Func&lt;IEnumerable&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an <a class="xref" href="C1.Web.Api.Data.ItemsSourceDataProvider.html">ItemsSourceDataProvider</a> with data reader.</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_Web_Api_Data_ItemsSourceDataProvider_Read_System_Collections_Specialized_NameValueCollection_" data-uid="C1.Web.Api.Data.ItemsSourceDataProvider.Read(System.Collections.Specialized.NameValueCollection)">
          <a class="xref" href="C1.Web.Api.Data.ItemsSourceDataProvider.Read.html#C1_Web_Api_Data_ItemsSourceDataProvider_Read_System_Collections_Specialized_NameValueCollection_">Read(NameValueCollection)</a>
        </td>
        <td class="markdown level1 summary"><p>Read data.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
