Class RestEndpointBindingFallbackModeExtensions
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Transports
Assembly: Cephalon.Abstractions.dll
Provides canonical wire-name helpers for
public static class RestEndpointBindingFallbackModeExtensionsInheritance
Section titled “Inheritance”object ← RestEndpointBindingFallbackModeExtensions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Section titled “Methods”GetWireName(RestEndpointBindingFallbackMode)
Section titled “ GetWireName(RestEndpointBindingFallbackMode)”Gets the stable wire name used by JSON serialization and compatibility metadata for the fallback mode.
public static string GetWireName(this RestEndpointBindingFallbackMode mode)Parameters
Section titled “Parameters”mode RestEndpointBindingFallbackMode
The fallback mode.
Returns
Section titled “Returns”The stable wire name.
TryParseWireName(string?, out RestEndpointBindingFallbackMode)
Section titled “ TryParseWireName(string?, out RestEndpointBindingFallbackMode)”Tries to parse the stable wire name used by JSON serialization and compatibility metadata into a fallback mode.
public static bool TryParseWireName(string? value, out RestEndpointBindingFallbackMode mode)Parameters
Section titled “Parameters”value string?
The wire name to parse.
mode RestEndpointBindingFallbackMode
The parsed fallback mode when the wire name is recognized.
Returns
Section titled “Returns”true when the wire name maps to a supported fallback mode; otherwise, false.