# GrapeCity.ActiveReports.Rdl.Persistence.ReportComponentFactory

## Content

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



  <h1 id="GrapeCity_ActiveReports_Rdl_Persistence_ReportComponentFactory" data-uid="GrapeCity.ActiveReports.Rdl.Persistence.ReportComponentFactory" class="text-break">ReportComponentFactory Class
</h1>
  <div class="markdown level0 summary"><p>Represents a factory for creating report components.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">ReportComponentFactory</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.IReportComponentFactory.html">IReportComponentFactory</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Rdl.Persistence.html">GrapeCity.ActiveReports.Rdl.Persistence</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rdl.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Rdl_Persistence_ReportComponentFactory_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ReportComponentFactory : IReportComponentFactory</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_Rdl_Persistence_ReportComponentFactory_examples"><strong>Examples</strong></h5>
  <pre><code class="lang-csharp">IComponent reportComponent = ReportComponentFactory.Instance.CreateComponent(typeof(Report));</code></pre>

  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Rdl_Persistence_ReportComponentFactory__ctor" data-uid="GrapeCity.ActiveReports.Rdl.Persistence.ReportComponentFactory.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Rdl.Persistence.ReportComponentFactory.-ctor.html#GrapeCity_ActiveReports_Rdl_Persistence_ReportComponentFactory__ctor">ReportComponentFactory()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Rdl_Persistence_ReportComponentFactory_Instance" data-uid="GrapeCity.ActiveReports.Rdl.Persistence.ReportComponentFactory.Instance">
          <a class="xref" href="GrapeCity.ActiveReports.Rdl.Persistence.ReportComponentFactory.Instance.html">Instance</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a singleton instance of the <a class="xref" href="GrapeCity.ActiveReports.Rdl.Persistence.ReportComponentFactory.html">ReportComponentFactory</a>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.CollectionExtensions.AddRange.html#GrapeCity_ActiveReports_Rdl_Tools_CollectionExtensions_AddRange__2___0_System_Collections_Generic_IEnumerable___1__">CollectionExtensions.AddRange&lt;TCollection, TItem&gt;(TCollection, IEnumerable&lt;TItem&gt;)</a>
  </div>

</div>
