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

Class BehaviorRestBindingSourceExtensions

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

Namespace: Cephalon.Behaviors.Http.Abstractions
Assembly: Cephalon.Behaviors.Http.dll

Provides canonical wire-name helpers for .

public static class BehaviorRestBindingSourceExtensions

objectBehaviorRestBindingSourceExtensions

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

Gets the stable wire name used by JSON serialization for the binding source.

public static string GetWireName(this BehaviorRestBindingSource source)

source BehaviorRestBindingSource

The binding source.

string

The stable wire name.

TryParseWireName(string?, out BehaviorRestBindingSource)

Section titled “ TryParseWireName(string?, out BehaviorRestBindingSource)”

Tries to parse the stable wire name used by JSON serialization into a binding source.

public static bool TryParseWireName(string? value, out BehaviorRestBindingSource source)

value string?

The wire name to parse.

source BehaviorRestBindingSource

The parsed binding source when the wire name is recognized.

bool

true when the wire name maps to a supported binding source; otherwise, false.