Table of Contents

Method GetEntity

Namespace
SharpVectors.Xml
Assembly
SharpVectors.Core.dll

GetEntity(Uri, string, Type)

Maps a URI to an object that contains the actual resource.

public virtual object GetEntity(Uri absoluteUri, string role, Type ofObjectToReturn)

Parameters

absoluteUri Uri

The URI returned from ResolveUri(Uri, string).

role string

Currently not used.

ofObjectToReturn Type

The type of object to return. The current implementation only returns Stream objects.

Returns

object

A stream object or null if a type other than stream is specified.