Iri
Represents an Internationalized Resource Identifier.
using System.Runtime.CompilerServices;
namespace Ganss.Xss
{
[NullableContext(1)]
[Nullable(0)]
public class Iri
{
public string Value { get; set; } = value;
public bool IsAbsolute => !string.IsNullOrEmpty(Scheme);
[Nullable(2)]
[field: Nullable(2)]
public string Scheme {
[NullableContext(2)]
get;
[NullableContext(2)]
private set;
} = scheme;
public Iri(string value, [Nullable(2)] string scheme = null)
{
}
}
}