[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.DefaultResourceLocator

DefaultResourceLocator Class

Represents a default implementation of ResourceLocator class.

Inheritance
DefaultResourceLocator
Namespace: GrapeCity.ActiveReports
Assembly: MESCIUS.ActiveReports.Core.Rdl.dll
Syntax
public sealed class DefaultResourceLocator : ResourceLocator
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>
<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.

Constructors

Name Description
DefaultResourceLocator()

Initializes a new instance of DefaultResourceLocator class.

DefaultResourceLocator(Uri)

Initializes a new instance of DefaultResourceLocator class with a specified base System.Uri.

Fields

Name Description
UriSchemeAssemblyResource
UriSchemeData
UriSchemeEmbeddedImage
UriSchemeThemeItem

Methods

Name Description
Fork(string)

Gets a ResourceLocator for a specified subreport.

Fork(Uri)

Returns a ResourceLocator for a specified part item.

GetResource(ResourceInfo)

Gets a Resource using a specified ResourceInfo.

GetResource(ResourceInfo, IServiceProvider)

Gets a Resource using a specified ResourceInfo and IServiceProvider.

Extension Methods