Class RestEndpointAuthoringPolicySuppressionKindExtensions
Namespace: Cephalon.Abstractions.Transports
Assembly: Cephalon.Abstractions.dll
Provides canonical wire-name helpers for
public static class RestEndpointAuthoringPolicySuppressionKindExtensionsInheritance
Section titled “Inheritance”object ← RestEndpointAuthoringPolicySuppressionKindExtensions
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(RestEndpointAuthoringPolicySuppressionKind)
Section titled “ GetWireName(RestEndpointAuthoringPolicySuppressionKind)”Gets the stable wire name used by JSON serialization and runtime introspection for the suppression kind.
public static string GetWireName(this RestEndpointAuthoringPolicySuppressionKind kind)Parameters
Section titled “Parameters”kind RestEndpointAuthoringPolicySuppressionKind
The suppression kind.
Returns
Section titled “Returns”The stable wire name.
TryParseWireName(string?, out RestEndpointAuthoringPolicySuppressionKind)
Section titled “ TryParseWireName(string?, out RestEndpointAuthoringPolicySuppressionKind)”Tries to parse the stable wire name used by JSON serialization and runtime introspection into a suppression kind.
public static bool TryParseWireName(string? value, out RestEndpointAuthoringPolicySuppressionKind kind)Parameters
Section titled “Parameters”value string?
The wire name to parse.
kind RestEndpointAuthoringPolicySuppressionKind
The parsed suppression kind when the wire name is recognized.
Returns
Section titled “Returns”true when the wire name maps to a supported suppression kind; otherwise, false.