ข้ามไปยังเนื้อหา

Class RestEndpointGovernanceRuleSelectionBasisExtensions

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Abstractions.Transports
Assembly: Cephalon.Abstractions.dll

Provides canonical wire-name helpers for .

public static class RestEndpointGovernanceRuleSelectionBasisExtensions

objectRestEndpointGovernanceRuleSelectionBasisExtensions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

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)

basis RestEndpointGovernanceRuleSelectionBasis

The selection basis.

string

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)

value string?

The wire name to parse.

basis RestEndpointGovernanceRuleSelectionBasis

The parsed selection basis when the wire name is recognized.

bool

true when the wire name maps to a supported selection basis; otherwise, false.