Class BehaviorRestBindingSourceExtensions
Namespace: Cephalon.Behaviors.Http.Abstractions
Assembly: Cephalon.Behaviors.Http.dll
Provides canonical wire-name helpers for
public static class BehaviorRestBindingSourceExtensionsInheritance
Section titled “Inheritance”object ← BehaviorRestBindingSourceExtensions
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(BehaviorRestBindingSource)
Section titled “ GetWireName(BehaviorRestBindingSource)”Gets the stable wire name used by JSON serialization for the binding source.
public static string GetWireName(this BehaviorRestBindingSource source)Parameters
Section titled “Parameters”source BehaviorRestBindingSource
The binding source.
Returns
Section titled “Returns”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)Parameters
Section titled “Parameters”value string?
The wire name to parse.
source BehaviorRestBindingSource
The parsed binding source when the wire name is recognized.
Returns
Section titled “Returns”true when the wire name maps to a supported binding source; otherwise, false.