Table of Contents

Class XmlParameter

Namespace
RestSharp
Assembly
RestSharp.dll
public record XmlParameter : BodyParameter, IEquatable<Parameter>, IEquatable<BodyParameter>, IEquatable<XmlParameter>
Inheritance
XmlParameter
Implements
Inherited Members

Constructors

XmlParameter(XmlParameter)

protected XmlParameter(XmlParameter original)

Parameters

original XmlParameter

XmlParameter(string, object, string?, string)

public XmlParameter(string name, object value, string? xmlNamespace = null, string contentType = "application/xml")

Parameters

name string
value object
xmlNamespace string
contentType string

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

XmlNamespace

public string? XmlNamespace { get; }

Property Value

string

Methods

Equals(BodyParameter?)

public override sealed bool Equals(BodyParameter? other)

Parameters

other BodyParameter

Returns

bool

Equals(XmlParameter?)

public virtual bool Equals(XmlParameter? other)

Parameters

other XmlParameter

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

Return a human-readable representation of this parameter

public override string ToString()

Returns

string

String

Operators

operator ==(XmlParameter?, XmlParameter?)

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

Parameters

left XmlParameter
right XmlParameter

Returns

bool

operator !=(XmlParameter?, XmlParameter?)

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

Parameters

left XmlParameter
right XmlParameter

Returns

bool