Class PackStreamUriParser
Translates a packed resource URI (pack://) into a read Stream for an embedded resource.
Implements
Inherited Members
Namespace: TheXDS.MCART.IO
Assembly: MCART.Wpf.Common.dll
Syntax
public class PackStreamUriParser : SimpleStreamUriParser, IStreamUriParser
Properties
| Edit this page View SourceSchemeList
Enumerates the URI schemes supported by this StreamUriParser.
Declaration
protected override IEnumerable<string> SchemeList { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<string> |
Overrides
Methods
| Edit this page View SourceOpen(Uri)
Declaration
public override Stream? Open(Uri uri)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | uri | The Uri that indicates the location of the embedded resource. |
Returns
| Type | Description |
|---|---|
| Stream | A Stream from which the embedded resource can be read, or null if the Uri does not point to a valid embedded resource. |