# GrapeCity.ActiveReports.Rendering.Tools.EnumerableExtension.WithProgress

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Rendering_Tools_EnumerableExtension_WithProgress_" data-uid="GrapeCity.ActiveReports.Rendering.Tools.EnumerableExtension.WithProgress*">WithProgress Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Rendering_Tools_EnumerableExtension_WithProgress_" data-uid="GrapeCity.ActiveReports.Rendering.Tools.EnumerableExtension.WithProgress*"></a>
<h4 id="GrapeCity_ActiveReports_Rendering_Tools_EnumerableExtension_WithProgress__2_System_Collections_Generic_IEnumerable___0__System_IProgress___1__System_Func___0___1__" data-uid="GrapeCity.ActiveReports.Rendering.Tools.EnumerableExtension.WithProgress``2(System.Collections.Generic.IEnumerable{``0},System.IProgress{``1},System.Func{``0,``1})">WithProgress&lt;T, T2&gt;(IEnumerable&lt;T&gt;, IProgress&lt;T2&gt;, Func&lt;T, T2&gt;)</h4>
<div class="markdown level1 summary"><p>Provides support for LINQ queries with a progress provider.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static IEnumerable&lt;T&gt; WithProgress&lt;T, T2&gt;(this IEnumerable&lt;T&gt; items, IProgress&lt;T2&gt; progress, Func&lt;T, T2&gt; getProgressInfo)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;T&gt;</td>
      <td><span class="parametername">items</span></td>
      <td><p>The source sequence.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iprogress-1">IProgress</a>&lt;T2&gt;</td>
      <td><span class="parametername">progress</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iprogress-1">IProgress&lt;T&gt;</a> instance to report progress to.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;T, T2&gt;</td>
      <td><span class="parametername">getProgressInfo</span></td>
      <td><p>A function to get progress information from an element.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;T&gt;</td>
      <td><p>A sequence that reports progress.</p>
</td>
    </tr>
  </tbody>
</table>
<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">T</span></td>
      <td><p>The type of elements in the sequence.</p>
</td>
    </tr>
    <tr>
      <td><span class="parametername">T2</span></td>
      <td><p>The type of progress information.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
