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