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

Class RestEndpointOverrideActionKindExtensions

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

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

Provides canonical wire-name helpers for .

public static class RestEndpointOverrideActionKindExtensions

objectRestEndpointOverrideActionKindExtensions

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

GetWireName(RestEndpointOverrideActionKind)

Section titled “ GetWireName(RestEndpointOverrideActionKind)”

Gets the stable wire name used by JSON serialization for the override action kind.

public static string GetWireName(this RestEndpointOverrideActionKind actionKind)

actionKind RestEndpointOverrideActionKind

The override action kind.

string

The stable wire name.

TryParseWireName(string?, out RestEndpointOverrideActionKind)

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

Tries to parse the stable wire name used by JSON serialization into an override action kind.

public static bool TryParseWireName(string? value, out RestEndpointOverrideActionKind actionKind)

value string?

The wire name to parse.

actionKind RestEndpointOverrideActionKind

The parsed override action kind when the wire name is recognized.

bool

true when the wire name maps to a supported override action kind; otherwise, false.