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