# GrapeCity.ActiveReports.DefaultResourceLocator

## Content

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



  <h1 id="GrapeCity_ActiveReports_DefaultResourceLocator" data-uid="GrapeCity.ActiveReports.DefaultResourceLocator" class="text-break">DefaultResourceLocator Class
</h1>
  <div class="markdown level0 summary"><p>Represents a default implementation of <a class="xref" href="GrapeCity.ActiveReports.ResourceLocator.html">ResourceLocator</a> class.</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="GrapeCity.ActiveReports.ResourceLocator.html">ResourceLocator</a></div>
    <div class="level2"><span class="xref">DefaultResourceLocator</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.html">GrapeCity.ActiveReports</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rdl.dll</h6>
  <h5 id="GrapeCity_ActiveReports_DefaultResourceLocator_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class DefaultResourceLocator : ResourceLocator</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_DefaultResourceLocator_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><pre><code>&lt;p&gt;Provides the following URI schemes for locating the resources:&lt;/p&gt;
&lt;p&gt;
    &lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th class=&quot;term&quot;&gt;URI scheme&lt;/th&gt;&lt;th class=&quot;description&quot;&gt;Description&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;term&quot;&gt;file&lt;/td&gt;&lt;td class=&quot;description&quot;&gt;URI scheme for locating files on a local computer or local network (e.g. &quot;file://localhost/etc/example.txt&quot;).&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;term&quot;&gt;http&lt;/td&gt;&lt;td class=&quot;description&quot;&gt;URI scheme for locating resources on a web server using HTTP protocol (e.g. &quot;http://example.com/example.xml&quot;)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;term&quot;&gt;https&lt;/td&gt;&lt;td class=&quot;description&quot;&gt;URI scheme for locating resources on a web server using HTTPS protocol (e.g. &quot;https://example.com/example.png&quot;)&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;term&quot;&gt;data&lt;/td&gt;&lt;td class=&quot;description&quot;&gt;URI scheme indicating that the URI contains a resource bytes converted in Base64 string (e.g. &quot;data:TXkgdGV4dA==...&quot;).&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;term&quot;&gt;res&lt;/td&gt;&lt;td class=&quot;description&quot;&gt;URI scheme for locating a resources from assembly using an assembly name and resource name (e.g. &quot;res:myassemblyname/resources.textboxlocalization&quot;).&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;term&quot;&gt;theme&lt;/td&gt;&lt;td class=&quot;description&quot;&gt;URI scheme for locating an image from the current attached theme using a name of the image (e.g. &quot;theme:Logo&quot;).&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;term&quot;&gt;embeddedimage&lt;/td&gt;&lt;td class=&quot;description&quot;&gt;URI scheme for locating an embedded image using a name of the image (e.g. &quot;embeddedimage:MyEmbeddedImage&quot;).&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;
&lt;/p&gt;
&lt;p&gt;This class should not be used directly in application code. 
</code></pre>
<p>It is designed for internal operations within the product libraries and may change or be removed in future versions without notice.</p>

</div>
  <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_DefaultResourceLocator__ctor" data-uid="GrapeCity.ActiveReports.DefaultResourceLocator.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.DefaultResourceLocator.-ctor.html#GrapeCity_ActiveReports_DefaultResourceLocator__ctor">DefaultResourceLocator()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="GrapeCity.ActiveReports.DefaultResourceLocator.html">DefaultResourceLocator</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_DefaultResourceLocator__ctor_System_Uri_" data-uid="GrapeCity.ActiveReports.DefaultResourceLocator.#ctor(System.Uri)">
          <a class="xref" href="GrapeCity.ActiveReports.DefaultResourceLocator.-ctor.html#GrapeCity_ActiveReports_DefaultResourceLocator__ctor_System_Uri_">DefaultResourceLocator(Uri)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="GrapeCity.ActiveReports.DefaultResourceLocator.html">DefaultResourceLocator</a> class with a specified base <span class="xref">System.Uri</span>.</p>
</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_DefaultResourceLocator_UriSchemeAssemblyResource" data-uid="GrapeCity.ActiveReports.DefaultResourceLocator.UriSchemeAssemblyResource">
          <a class="xref" href="GrapeCity.ActiveReports.DefaultResourceLocator.UriSchemeAssemblyResource.html">UriSchemeAssemblyResource</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_DefaultResourceLocator_UriSchemeData" data-uid="GrapeCity.ActiveReports.DefaultResourceLocator.UriSchemeData">
          <a class="xref" href="GrapeCity.ActiveReports.DefaultResourceLocator.UriSchemeData.html">UriSchemeData</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_DefaultResourceLocator_UriSchemeEmbeddedImage" data-uid="GrapeCity.ActiveReports.DefaultResourceLocator.UriSchemeEmbeddedImage">
          <a class="xref" href="GrapeCity.ActiveReports.DefaultResourceLocator.UriSchemeEmbeddedImage.html">UriSchemeEmbeddedImage</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_DefaultResourceLocator_UriSchemeThemeItem" data-uid="GrapeCity.ActiveReports.DefaultResourceLocator.UriSchemeThemeItem">
          <a class="xref" href="GrapeCity.ActiveReports.DefaultResourceLocator.UriSchemeThemeItem.html">UriSchemeThemeItem</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="GrapeCity_ActiveReports_DefaultResourceLocator_Fork_System_String_" data-uid="GrapeCity.ActiveReports.DefaultResourceLocator.Fork(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.DefaultResourceLocator.Fork.html#GrapeCity_ActiveReports_DefaultResourceLocator_Fork_System_String_">Fork(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.ActiveReports.ResourceLocator.html">ResourceLocator</a> for a specified subreport.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_DefaultResourceLocator_Fork_System_Uri_" data-uid="GrapeCity.ActiveReports.DefaultResourceLocator.Fork(System.Uri)">
          <a class="xref" href="GrapeCity.ActiveReports.DefaultResourceLocator.Fork.html#GrapeCity_ActiveReports_DefaultResourceLocator_Fork_System_Uri_">Fork(Uri)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="GrapeCity.ActiveReports.ResourceLocator.html">ResourceLocator</a> for a specified part item.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_DefaultResourceLocator_GetResource_GrapeCity_ActiveReports_ResourceInfo_" data-uid="GrapeCity.ActiveReports.DefaultResourceLocator.GetResource(GrapeCity.ActiveReports.ResourceInfo)">
          <a class="xref" href="GrapeCity.ActiveReports.DefaultResourceLocator.GetResource.html#GrapeCity_ActiveReports_DefaultResourceLocator_GetResource_GrapeCity_ActiveReports_ResourceInfo_">GetResource(ResourceInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.ActiveReports.Resource.html">Resource</a> using a specified <a class="xref" href="GrapeCity.ActiveReports.ResourceInfo.html">ResourceInfo</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_DefaultResourceLocator_GetResource_GrapeCity_ActiveReports_ResourceInfo_System_IServiceProvider_" data-uid="GrapeCity.ActiveReports.DefaultResourceLocator.GetResource(GrapeCity.ActiveReports.ResourceInfo,System.IServiceProvider)">
          <a class="xref" href="GrapeCity.ActiveReports.DefaultResourceLocator.GetResource.html#GrapeCity_ActiveReports_DefaultResourceLocator_GetResource_GrapeCity_ActiveReports_ResourceInfo_System_IServiceProvider_">GetResource(ResourceInfo, IServiceProvider)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.ActiveReports.Resource.html">Resource</a> using a specified <a class="xref" href="GrapeCity.ActiveReports.ResourceInfo.html">ResourceInfo</a> and <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iserviceprovider">IServiceProvider</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>
