UrlEncodedFormFormatterOptions Class

Provides options for formatting URL-encoded form data.

public sealed class UrlEncodedFormFormatterOptions : IEquatable<UrlEncodedFormFormatterOptions>
Implements

Constructors

NameDescription
UrlEncodedFormFormatterOptions()

UrlEncodedFormFormatterOptions()

UrlEncodedFormFormatterOptions.cs
public UrlEncodedFormFormatterOptions()

No documentation is available.

Properties

NameDescription
OrderPropertiesGets or sets whether to order properties alphabetically.
PrettyFormatGets or sets whether to format the output in a pretty, human-readable format.
UnescapeValuesGets or sets whether to unescape URL-encoded values.

Gets or sets whether to order properties alphabetically.

public bool OrderProperties { get; set; }

Property value

bool

Gets or sets whether to format the output in a pretty, human-readable format.

public bool PrettyFormat { get; set; }

Property value

bool

Gets or sets whether to unescape URL-encoded values.

public bool UnescapeValues { get; set; }

Property value

bool

Methods

NameDescription
Equals(UrlEncodedFormFormatterOptions?)
Equals(object?)
GetHashCode()
ToString()

Equals overloads

Equals(UrlEncodedFormFormatterOptions?)

public bool Equals(UrlEncodedFormFormatterOptions? other)

No documentation is available.

Equals(object?)

public override bool Equals(object? obj)
Parameters
obj object?
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(UrlEncodedFormFormatterOptions?, UrlEncodedFormFormatterOptions?)
operator !=(UrlEncodedFormFormatterOptions?, UrlEncodedFormFormatterOptions?)

operator ==(UrlEncodedFormFormatterOptions?, UrlEncodedFormFormatterOptions?)

public static bool operator ==(UrlEncodedFormFormatterOptions? left, UrlEncodedFormFormatterOptions? right)

No documentation is available.

operator !=(UrlEncodedFormFormatterOptions?, UrlEncodedFormFormatterOptions?)

public static bool operator !=(UrlEncodedFormFormatterOptions? left, UrlEncodedFormFormatterOptions? right)

No documentation is available.