# GrapeCity.ActiveReports.Rendering.DataTreeBuilder.CreateSnapshotEvaluationContext

## Content

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



<h1 id="GrapeCity_ActiveReports_Rendering_DataTreeBuilder_CreateSnapshotEvaluationContext_" data-uid="GrapeCity.ActiveReports.Rendering.DataTreeBuilder.CreateSnapshotEvaluationContext*">CreateSnapshotEvaluationContext Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Rendering_DataTreeBuilder_CreateSnapshotEvaluationContext_" data-uid="GrapeCity.ActiveReports.Rendering.DataTreeBuilder.CreateSnapshotEvaluationContext*"></a>
<h4 id="GrapeCity_ActiveReports_Rendering_DataTreeBuilder_CreateSnapshotEvaluationContext_GrapeCity_ActiveReports_PageReportModel_Report_GrapeCity_Enterprise_Data_DataEngine_DataParameter___GrapeCity_ActiveReports_ResourceLocator_GrapeCity_ActiveReports_Extensibility_Rendering_IReportInformationService_System_Collections_Generic_IReadOnlyDictionary_System_String_System_Func_GrapeCity_ActiveReports_Rendering_CustomContextArgs_System_Object___" data-uid="GrapeCity.ActiveReports.Rendering.DataTreeBuilder.CreateSnapshotEvaluationContext(GrapeCity.ActiveReports.PageReportModel.Report,GrapeCity.Enterprise.Data.DataEngine.DataParameter[],GrapeCity.ActiveReports.ResourceLocator,GrapeCity.ActiveReports.Extensibility.Rendering.IReportInformationService,System.Collections.Generic.IReadOnlyDictionary{System.String,System.Func{GrapeCity.ActiveReports.Rendering.CustomContextArgs,System.Object}})">CreateSnapshotEvaluationContext(Report, DataParameter[], ResourceLocator, IReportInformationService, IReadOnlyDictionary&lt;string, Func&lt;CustomContextArgs, object&gt;&gt;)</h4>
<div class="markdown level1 summary"><p>Creates a snapshot evaluation context.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static IEvaluationContext CreateSnapshotEvaluationContext(Report report, DataParameter[] parameters, ResourceLocator resourceLocator, IReportInformationService reportInfo, IReadOnlyDictionary&lt;string, Func&lt;CustomContextArgs, object&gt;&gt; customContext)</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.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">DataParameter</span>[]</td>
      <td><span class="parametername">parameters</span></td>
      <td><p>The data parameters.</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>The resource locator.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Extensibility.Rendering.IReportInformationService.html">IReportInformationService</a></td>
      <td><span class="parametername">reportInfo</span></td>
      <td><p>The report information service.</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>The custom context dictionary, optional.</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="GrapeCity.ActiveReports.Core.Rendering.IEvaluationContext.html">IEvaluationContext</a></td>
      <td><p>An <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.IEvaluationContext.html">IEvaluationContext</a> for the snapshot.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Rendering_DataTreeBuilder_CreateSnapshotEvaluationContext_GrapeCity_ActiveReports_PageReportModel_Report_GrapeCity_Enterprise_Data_DataEngine_DataParameter___GrapeCity_ActiveReports_ResourceLocator_GrapeCity_ActiveReports_Extensibility_Rendering_IReportInformationService_System_Collections_Generic_IReadOnlyDictionary_System_String_System_Func_GrapeCity_ActiveReports_Rendering_CustomContextArgs_System_Object____remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Used by GCES.</p>
</div>
</div>
