# GrapeCity.ActiveReports.Viewer.Common.Internal.BaseApplicationContext.-ctor

## Content

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



<h1 id="GrapeCity_ActiveReports_Viewer_Common_Internal_BaseApplicationContext__ctor_" data-uid="GrapeCity.ActiveReports.Viewer.Common.Internal.BaseApplicationContext.#ctor*">BaseApplicationContext Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Viewer_Common_Internal_BaseApplicationContext__ctor_" data-uid="GrapeCity.ActiveReports.Viewer.Common.Internal.BaseApplicationContext.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Viewer_Common_Internal_BaseApplicationContext__ctor_GrapeCity_Viewer_Common_Model_ViewerModel_GrapeCity_Viewer_Common_IServiceContainer_" data-uid="GrapeCity.ActiveReports.Viewer.Common.Internal.BaseApplicationContext.#ctor(GrapeCity.Viewer.Common.Model.ViewerModel,GrapeCity.Viewer.Common.IServiceContainer)">BaseApplicationContext(ViewerModel, IServiceContainer)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Viewer.Common.Internal.BaseApplicationContext.html">BaseApplicationContext</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected BaseApplicationContext(ViewerModel model, IServiceContainer container)</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><span class="xref">ViewerModel</span></td>
      <td><span class="parametername">model</span></td>
      <td><p>The viewer model to associate with this context.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">IServiceContainer</span></td>
      <td><span class="parametername">container</span></td>
      <td><p>The service container to associate with this context.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
