ข้ามไปยังเนื้อหา

Class RestEndpointOverrideBindingModeExtensions

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Abstractions.Transports
Assembly: Cephalon.Abstractions.dll

Provides canonical wire-name helpers for .

public static class RestEndpointOverrideBindingModeExtensions

objectRestEndpointOverrideBindingModeExtensions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

GetWireName(RestEndpointOverrideBindingMode)

Section titled “ GetWireName(RestEndpointOverrideBindingMode)”

Gets the stable wire name used by JSON serialization and compatibility metadata for the override binding mode.

public static string GetWireName(this RestEndpointOverrideBindingMode bindingMode)

bindingMode RestEndpointOverrideBindingMode

The override binding mode.

string

The stable wire name.

TryParseWireName(string?, out RestEndpointOverrideBindingMode)

Section titled “ TryParseWireName(string?, out RestEndpointOverrideBindingMode)”

Tries to parse the stable wire name used by JSON serialization and compatibility metadata into an override binding mode.

public static bool TryParseWireName(string? value, out RestEndpointOverrideBindingMode bindingMode)

value string?

The wire name to parse.

bindingMode RestEndpointOverrideBindingMode

The parsed override binding mode when the wire name is recognized.

bool

true when the wire name maps to a supported override binding mode; otherwise, false.