SanitizerAttributeNamespace Class

https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dictdef-sanitizerattributenamespace

public sealed class SanitizerAttributeNamespace

Constructors

NameDescription
SanitizerAttributeNamespace()

SanitizerAttributeNamespace()

  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public SanitizerAttributeNamespace()

No documentation is available.

Properties

NameDescription
NameGets the local name of the attribute.
NamespaceGets the namespace of the attribute, or null when the attribute has no namespace.

Gets the local name of the attribute.

public required string Name { get; init; }

Gets the namespace of the attribute, or null when the attribute has no namespace.

public string? Namespace { get; init; }