Class RestEndpointBindingSourceExtensions
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Transports
Assembly: Cephalon.Abstractions.dll
Provides canonical wire-name helpers for
public static class RestEndpointBindingSourceExtensionsInheritance
Section titled “Inheritance”object ← RestEndpointBindingSourceExtensions
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(RestEndpointBindingSource)
Section titled “ GetWireName(RestEndpointBindingSource)”Gets the stable wire name used by JSON serialization and REST governance config for the binding source.
public static string GetWireName(this RestEndpointBindingSource source)Parameters
Section titled “Parameters”source RestEndpointBindingSource
The binding source.
Returns
Section titled “Returns”The stable wire name.
TryParseWireName(string?, out RestEndpointBindingSource)
Section titled “ TryParseWireName(string?, out RestEndpointBindingSource)”Tries to parse the stable wire name used by JSON serialization and REST governance config into a binding source.
public static bool TryParseWireName(string? value, out RestEndpointBindingSource source)Parameters
Section titled “Parameters”value string?
The wire name to parse.
source RestEndpointBindingSource
The parsed binding source when the wire name is recognized.
Returns
Section titled “Returns”true when the wire name maps to a supported binding source; otherwise, false.