# C1.Report.Rendering.BrickCollection-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Report_Rendering_BrickCollection_1" data-uid="C1.Report.Rendering.BrickCollection`1" class="text-break">BrickCollection&lt;TItem&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Collection of the <a class="xref" href="C1.Report.Rendering.BrickBase.html">BrickBase</a> objects.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;TItem&gt;</div>
    <div class="level2"><span class="xref">BrickCollection&lt;TItem&gt;</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;TItem&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;TItem&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;TItem&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;TItem&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;TItem&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="C1.Report.Rendering.BrickBase.html">BrickBase</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="C1.Report.Rendering.BrickBase.html">BrickBase</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="C1.Report.Rendering.BrickBase.html">BrickBase</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Report.Rendering.html">C1.Report.Rendering</a></h6>
  <h6><strong>Assembly</strong>: C1.Report.dll</h6>
  <h5 id="C1_Report_Rendering_BrickCollection_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class BrickCollection&lt;TItem&gt; : List&lt;TItem&gt;, IList&lt;TItem&gt;, ICollection&lt;TItem&gt;, IList, ICollection, IReadOnlyList&lt;TItem&gt;, IReadOnlyCollection&lt;TItem&gt;, IEnumerable&lt;TItem&gt;, IList&lt;BrickBase&gt;, ICollection&lt;BrickBase&gt;, IEnumerable&lt;BrickBase&gt;, IEnumerable where TItem : BrickBase</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class BrickCollection(Of TItem As BrickBase)
    Inherits List(Of TItem)
    Implements IList(Of TItem), ICollection(Of TItem), IList, ICollection, IReadOnlyList(Of TItem), IReadOnlyCollection(Of TItem), IEnumerable(Of TItem), IList(Of BrickBase), ICollection(Of BrickBase), IEnumerable(Of BrickBase), IEnumerable</code></pre>
  </div>
  <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">TItem</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <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="C1_Report_Rendering_BrickCollection_1__ctor" data-uid="C1.Report.Rendering.BrickCollection`1.#ctor">
          <a class="xref" href="C1.Report.Rendering.BrickCollection-1.-ctor.html#C1_Report_Rendering_BrickCollection_1__ctor">BrickCollection()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Report_Rendering_BrickCollection_1_AssignFrom_C1_Report_Rendering_BrickCollection__0__C1_Report_Rendering_BrickBase_" data-uid="C1.Report.Rendering.BrickCollection`1.AssignFrom(C1.Report.Rendering.BrickCollection{`0},C1.Report.Rendering.BrickBase)">
          <a class="xref" href="C1.Report.Rendering.BrickCollection-1.AssignFrom.html#C1_Report_Rendering_BrickCollection_1_AssignFrom_C1_Report_Rendering_BrickCollection__0__C1_Report_Rendering_BrickBase_">AssignFrom(BrickCollection&lt;TItem&gt;, BrickBase)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns all from another collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Report_Rendering_BrickCollection_1_Clone_C1_Report_Rendering_BrickBase_" data-uid="C1.Report.Rendering.BrickCollection`1.Clone(C1.Report.Rendering.BrickBase)">
          <a class="xref" href="C1.Report.Rendering.BrickCollection-1.Clone.html#C1_Report_Rendering_BrickCollection_1_Clone_C1_Report_Rendering_BrickBase_">Clone(BrickBase)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates copy of collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
