# GrapeCity.ActiveReports.Rendering.ReportProcessor.-ctor

## Content

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



<h1 id="GrapeCity_ActiveReports_Rendering_ReportProcessor__ctor_" data-uid="GrapeCity.ActiveReports.Rendering.ReportProcessor.#ctor*">ReportProcessor Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Rendering_ReportProcessor__ctor_" data-uid="GrapeCity.ActiveReports.Rendering.ReportProcessor.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Rendering_ReportProcessor__ctor_GrapeCity_ActiveReports_PageReportModel_Report_GrapeCity_ActiveReports_ResourceLocator_GrapeCity_ActiveReports_Rendering_DataTreeBuilderConfig_System_Collections_Generic_IReadOnlyDictionary_System_String_System_Func_GrapeCity_ActiveReports_Rendering_CustomContextArgs_System_Object___GrapeCity_ActiveReports_Core_Rendering_Data_ReportSnapshot_System_IServiceProvider_" data-uid="GrapeCity.ActiveReports.Rendering.ReportProcessor.#ctor(GrapeCity.ActiveReports.PageReportModel.Report,GrapeCity.ActiveReports.ResourceLocator,GrapeCity.ActiveReports.Rendering.DataTreeBuilderConfig,System.Collections.Generic.IReadOnlyDictionary{System.String,System.Func{GrapeCity.ActiveReports.Rendering.CustomContextArgs,System.Object}},GrapeCity.ActiveReports.Core.Rendering.Data.ReportSnapshot,System.IServiceProvider)">ReportProcessor(Report, ResourceLocator, DataTreeBuilderConfig, IReadOnlyDictionary&lt;string, Func&lt;CustomContextArgs, object&gt;&gt;, ReportSnapshot, IServiceProvider)</h4>
<div class="markdown level1 summary"><p>Creates <a class="xref" href="GrapeCity.ActiveReports.Rendering.ReportProcessor.html">ReportProcessor</a> instance for root report.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ReportProcessor(Report report, ResourceLocator resourceLocator = null, DataTreeBuilderConfig config = null, IReadOnlyDictionary&lt;string, Func&lt;CustomContextArgs, object&gt;&gt; customContext = null, ReportSnapshot snapshot = null, IServiceProvider services = null)</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="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.Report.html">Report</a></td>
      <td><span class="parametername">report</span></td>
      <td><p>The report definition.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.ResourceLocator.html">ResourceLocator</a></td>
      <td><span class="parametername">resourceLocator</span></td>
      <td><p>Report resource locator.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Rendering.DataTreeBuilderConfig.html">DataTreeBuilderConfig</a></td>
      <td><span class="parametername">config</span></td>
      <td><p>Report configuration.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlydictionary-2">IReadOnlyDictionary</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Rendering.CustomContextArgs.html">CustomContextArgs</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>&gt;&gt;</td>
      <td><span class="parametername">customContext</span></td>
      <td><p>Custom evaluation context objects (custom code, user context, etc.)</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.Data.ReportSnapshot.html">ReportSnapshot</a></td>
      <td><span class="parametername">snapshot</span></td>
      <td><p>The report snapshot.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</a></td>
      <td><span class="parametername">services</span></td>
      <td><p>Service provider.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentnullexception">ArgumentNullException</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
