Class RestEndpointOverrideActionKindExtensions
Namespace: Cephalon.Abstractions.Transports
Assembly: Cephalon.Abstractions.dll
Provides canonical wire-name helpers for
public static class RestEndpointOverrideActionKindExtensionsInheritance
Section titled “Inheritance”object ← RestEndpointOverrideActionKindExtensions
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(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)Parameters
Section titled “Parameters”actionKind RestEndpointOverrideActionKind
The override action kind.
Returns
Section titled “Returns”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)Parameters
Section titled “Parameters”value string?
The wire name to parse.
actionKind RestEndpointOverrideActionKind
The parsed override action kind when the wire name is recognized.
Returns
Section titled “Returns”true when the wire name maps to a supported override action kind; otherwise, false.