# 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"><p>Provides the following URI schemes for locating the resources:</p>
    <p>
        <table><thead><tr><th class="term">URI scheme</th><th class="description">Description</th></tr></thead><tbody><tr><td class="term">file</td><td class="description">URI scheme for locating files on a local computer or local network (e.g. "file://localhost/etc/example.txt").</td></tr><tr><td class="term">http</td><td class="description">URI scheme for locating resources on a web server using HTTP protocol (e.g. "http://example.com/example.xml")</td></tr><tr><td class="term">https</td><td class="description">URI scheme for locating resources on a web server using HTTPS protocol (e.g. "https://example.com/example.png")</td></tr><tr><td class="term">data</td><td class="description">URI scheme indicating that the URI contains a resource bytes converted in Base64 string (e.g. "data:TXkgdGV4dA==...").</td></tr><tr><td class="term">res</td><td class="description">URI scheme for locating a resources from assembly using an assembly name and resource name (e.g. "res:myassemblyname/resources.textboxlocalization").</td></tr><tr><td class="term">theme</td><td class="description">URI scheme for locating an image from the current attached theme using a name of the image (e.g. "theme:Logo").</td></tr><tr><td class="term">embeddedimage</td><td class="description">URI scheme for locating an embedded image using a name of the image (e.g. "embeddedimage:MyEmbeddedImage").</td></tr></tbody></table>
    
    <p>This class should not be used directly in application code. 
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>
