# C1.Web.Api.IImporter-2

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Api_IImporter_2" data-uid="C1.Web.Api.IImporter`2" class="text-break">IImporter&lt;TSource, TResult&gt; Interface
</h1>
  <div class="markdown level0 summary"><p>Common generic interface for all importers to share.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Api.html">C1.Web.Api</a></h6>
  <h6><strong>Assembly</strong>: C1.Web.Api.dll</h6>
  <h5 id="C1_Web_Api_IImporter_2_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IImporter&lt;TSource, TResult&gt; where TSource : ImportSource</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IImporter(Of TSource As ImportSource, TResult)</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">TSource</span></td>
        <td><p>Type of ImportSource.</p>
</td>
      </tr>
      <tr>
        <td><span class="parametername">TResult</span></td>
        <td><p>Type of import result.</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_IImporter_2_ImportAsync__0_" data-uid="C1.Web.Api.IImporter`2.ImportAsync(`0)">
          <a class="xref" href="C1.Web.Api.IImporter-2.ImportAsync.html#C1_Web_Api_IImporter_2_ImportAsync__0_">ImportAsync(TSource)</a>
        </td>
        <td class="markdown level1 summary"><p>Execute importing task asynchronously.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
