Show / Hide Table of Contents

Class PackStreamUriParser

Translates a packed resource URI (pack://) into a read Stream for an embedded resource.

Inheritance
object
StreamUriParser
SimpleStreamUriParser
PackStreamUriParser
Implements
IStreamUriParser
Inherited Members
SimpleStreamUriParser.Handles(Uri)
StreamUriParser.Infer(Uri)
StreamUriParser.Infer(string)
StreamUriParser.Get(Uri)
StreamUriParser.GetAsync(Uri)
StreamUriParser.Infer<T>(Uri)
StreamUriParser.Infer<T>(string)
StreamUriParser.PreferFullTransfer
StreamUriParser.GetStream(Uri)
StreamUriParser.GetStreamAsync(Uri)
StreamUriParser.OpenFullTransfer(Uri)
StreamUriParser.OpenFullTransferAsync(Uri)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.IO
Assembly: MCART.Wpf.Common.dll
Syntax
public class PackStreamUriParser : SimpleStreamUriParser, IStreamUriParser

Properties

| Edit this page View Source

SchemeList

Enumerates the URI schemes supported by this StreamUriParser.

Declaration
protected override IEnumerable<string> SchemeList { get; }
Property Value
Type Description
IEnumerable<string>
Overrides
SimpleStreamUriParser.SchemeList

Methods

| Edit this page View Source

Open(Uri)

Opens a Stream that allows reading the embedded resource referenced by the specified 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.

Overrides
StreamUriParser.Open(Uri)

Implements

IStreamUriParser

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowClone<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX