Skip to content

Consider adding Uri.UriSchemeData #122020

@glen-84

Description

@glen-84

Is your feature request related to a problem? Please describe.

We have constants for http, https, etc., but not for data: URIs.

Describe the solution you'd like

A new constant in the System.Uri class:

namespace System
{
    public partial class Uri
    {
        public static readonly string UriSchemeHttp;
        public static readonly string UriSchemeHttps;
        // +14 other schemes following the same pattern

+       public static readonly string UriSchemeData = "data";
    }
}

Additional context

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions