AValue Methods
The AValue type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
AsEnumerable()()()() |
Returns an enumerable object such that each item is an AValue.
|
![]() |
AsEnumerable<(Of <<'(T>)>>)()()()() |
Returns an enumerable object converting each element to T.
If not possible an ArgumentException is thrown.
|
![]() |
CompareTo(String) | |
![]() |
CompareTo(Boolean) | |
![]() |
CompareTo(Enum) | |
![]() |
CompareTo(Guid) | |
![]() |
CompareTo(Int16) | |
![]() |
CompareTo(Int32) | |
![]() |
CompareTo(Int64) | |
![]() |
CompareTo(UInt16) | |
![]() |
CompareTo(UInt32) | |
![]() |
CompareTo(UInt64) | |
![]() |
CompareTo(Decimal) | |
![]() |
CompareTo(Single) | |
![]() |
CompareTo(Double) | |
![]() |
CompareTo(Byte) | |
![]() |
CompareTo(SByte) | |
![]() |
CompareTo(DateTime) | |
![]() |
CompareTo(DateTimeOffset) | |
![]() |
CompareTo(TimeSpan) | |
![]() |
CompareTo(Object) | |
![]() |
CompareTo(AValue) | |
![]() |
CompareTo(Key) | |
![]() |
CompareTo(Value) | |
![]() |
Contains<(Of <<'(T>)>>)(T, AValue..::..MatchOptions) |
Determines if matchValue matches Value based on options.
|
![]() |
Contains<(Of <<'(K, T>)>>)(K, T) |
Determines if key and value is contained in Value.
If Value is a , , or KeyValuePair, each Key/Value pair is compared.
If Value is anything else, false is always returned.
|
![]() |
ContainsKey<(Of <<'(K>)>>) | |
![]() |
Convert<(Of <<'(T>)>>) |
Converts Value into a .net native type, a [Newtonsoft.Json], or GeoJSONObject instance.
|
![]() |
Count |
Returns the number of elements/chars if Value is either a collection or string.
If Value is neither a collection or string, -1 is returned.
|
![]() |
DebugDump |
Displays all the public properties and fields for this object.
|
![]() |
DebuggerString | |
![]() |
ElementAt |
Returns the AValue element at a specified index in a sequence.
|
![]() |
ElementAtOrDefault |
Returns the element at a specified index in a sequence or an Empty if the index is out of range or not a CDT.
|
![]() |
Equals(String) | |
![]() |
Equals(String, String) | |
![]() |
Equals(Boolean) | |
![]() |
Equals(Boolean, Boolean) | |
![]() |
Equals(Enum) | |
![]() |
Equals(Enum, Enum) | |
![]() |
Equals(Guid) | |
![]() |
Equals(Guid, Guid) | |
![]() |
Equals(Int16) | |
![]() |
Equals(Int16, Int16) | |
![]() |
Equals(Int32) | |
![]() |
Equals(Int32, Int32) | |
![]() |
Equals(Int64) | |
![]() |
Equals(Int64, Int64) | |
![]() |
Equals(UInt16) | |
![]() |
Equals(UInt16, UInt16) | |
![]() |
Equals(UInt32) | |
![]() |
Equals(UInt32, UInt32) | |
![]() |
Equals(UInt64) | |
![]() |
Equals(UInt64, UInt64) | |
![]() |
Equals(Decimal) | |
![]() |
Equals(Decimal, Decimal) | |
![]() |
Equals(Single) | |
![]() |
Equals(Single, Single) | |
![]() |
Equals(Double) | |
![]() |
Equals(Double, Double) | |
![]() |
Equals(Byte) | |
![]() |
Equals(Byte, Byte) | |
![]() |
Equals(SByte) | |
![]() |
Equals(SByte, SByte) | |
![]() |
Equals(DateTime) | |
![]() |
Equals(DateTime, DateTime) | |
![]() |
Equals(DateTimeOffset) | |
![]() |
Equals(DateTimeOffset, DateTimeOffset) | |
![]() |
Equals(TimeSpan) | |
![]() |
Equals(TimeSpan, TimeSpan) | |
![]() |
Equals(JObject) | |
![]() |
Equals(JObject, JObject) | |
![]() |
Equals(JArray) | |
![]() |
Equals(JArray, JArray) | |
![]() |
Equals(JValue) | |
![]() |
Equals(JValue, JValue) | |
![]() |
Equals(JToken) | |
![]() |
Equals(JToken, JToken) | |
![]() |
Equals(Key) | |
![]() |
Equals(Key, Key) | |
![]() |
Equals(Value) | |
![]() |
Equals(Value, Value) | |
![]() |
Equals(AValue) | |
![]() |
Equals(AValue, AValue) | |
![]() |
Equals(array<Byte>[]()[][]) | |
![]() |
Equals(Object) | |
![]() |
Finalize | (Inherited from Object.) |
![]() |
FindAll<(Of <<'(T>)>>) |
Determines if matchValue matches Value based on options and return the found value..
|
![]() |
GetHashCode(String) | |
![]() |
GetHashCode(Boolean) | |
![]() |
GetHashCode(Enum) | |
![]() |
GetHashCode(Guid) | |
![]() |
GetHashCode(Int16) | |
![]() |
GetHashCode(Int32) | |
![]() |
GetHashCode(Int64) | |
![]() |
GetHashCode(UInt16) | |
![]() |
GetHashCode(UInt32) | |
![]() |
GetHashCode(UInt64) | |
![]() |
GetHashCode(Decimal) | |
![]() |
GetHashCode(Single) | |
![]() |
GetHashCode(Double) | |
![]() |
GetHashCode(Byte) | |
![]() |
GetHashCode(SByte) | |
![]() |
GetHashCode(DateTime) | |
![]() |
GetHashCode(DateTimeOffset) | |
![]() |
GetHashCode(TimeSpan) | |
![]() |
GetHashCode(JObject) | |
![]() |
GetHashCode(JArray) | |
![]() |
GetHashCode(JValue) | |
![]() |
GetHashCode(JToken) | |
![]() |
GetHashCode(Key) | |
![]() |
GetHashCode(Value) | |
![]() |
GetHashCode(AValue) | |
![]() |
GetHashCode()()()() | |
![]() |
GetType | (Inherited from Object.) |
![]() |
GetTypeCode | |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToBin | |
![]() |
Tobool | |
![]() |
Tobyte | |
![]() |
ToCDT |
This will convert a list of JsonDocument/JObject to a list of dictionary items if they match that patterns.
If the value is already a list of dictionary items, that is returned.
|
![]() |
ToDateTime | |
![]() |
ToDateTimeOffset | |
![]() |
Todecimal | |
![]() |
ToDictionary()()()() |
Tries to convert Value to a IDictionary. If not possible an empty IDictionary is returned.
|
![]() |
ToDictionary<(Of <<'(K, V>)>>)(Func<(Of <<'(AValue, K>)>>), Func<(Of <<'(AValue, V>)>>)) |
Tries to convert Value to a IDictionary. If not possible an empty IDictionary is returned.
|
![]() |
Todouble | |
![]() |
ToDump | |
![]() |
ToEnum | |
![]() |
Tofloat | |
![]() |
ToGuid | |
![]() |
Toint | |
![]() |
ToJArray | |
![]() |
ToJObject | |
![]() |
ToJson |
Tries to convert Value to a JToken.
|
![]() |
ToJToken | |
![]() |
ToJValue | |
![]() |
ToList |
Tries to convert Value to a IList. If not possible an empty list is returned.
|
![]() |
ToListItem |
Always convert Value to a List.
If Value is not a collection, the item is returned in a list.
|
![]() |
Tolong | |
![]() |
Tosbyte | |
![]() |
Toshort | |
![]() |
ToString(String, Boolean) | |
![]() |
ToString(IFormatProvider, Boolean) | |
![]() |
ToString(String, IFormatProvider, Boolean) | |
![]() |
ToString()()()() | |
![]() |
ToString(Formatting, array<JsonConverter>[]()[][]) |
Returns the JSON string for Value using the given formatting and converters only if Value is a JToken.
Otherwise the ToString of Value.
|
![]() |
ToTimeSpan | |
![]() |
Touint | |
![]() |
Toulong | |
![]() |
Toushort | |
![]() ![]() |
ToValue(Value) | |
![]() ![]() |
ToValue(Bin) | |
![]() ![]() |
ToValue(Object) | |
![]() |
TryGetValue(Object, AValue%) |
Returns AValue, only if there is a match based on matchValue and this AValue's Value.
A match occurs when any of the following happens:
Value is a IEnumerable or JArray and one of the elements matches matchValueValue is a IDictionary and the key matches matchValueValue is a KeyValuePair and the key matches matchValue
If matchValue is a KeyValuePair, both the key and value must match
Value is a String and matchValue is contained within
Otherwise ValueEquals(Object) is applied against matchValue
|
![]() |
TryGetValue(Object, Boolean) |
Returns AValue, only if there is a match based on matchValue and this AValue's Value.
A match occurs when any of the following happens:
Value is a IEnumerable or JArray and one of the elements matches matchValueValue is a IDictionary and the key matches matchValueValue is a KeyValuePair and the key matches matchValue
If matchValue is a KeyValuePair, both the key and value must match
Value is a String and matchValue is contained within
Otherwise ValueEquals(Object) is applied against matchValue
|
![]() |
TryGetValue<(Of <<'(R>)>>)(Object, R%) |
Returns the converted value based on R, if possible, only if there is a match based on matchValue and this AValue's Value.
If the matched value cannot be converted to R, this will return false.
A match occurs when any of the following happens:
Value is a IEnumerable or JArray and one of the elements matches matchValueValue is a IDictionary and the key matches matchValueValue is a KeyValuePair and the key matches matchValue
If matchValue is a KeyValuePair, both the key and value must match
Value is a String and matchValue is contained within
Otherwise ValueEquals(Object) is applied against matchValue
|
![]() |
TryGetValue<(Of <<'(R>)>>)(Object, R) |
Returns the converted value based on R, if possible, only if there is a match based on matchValue and this AValue's Value.
If the matched value cannot be converted to R, this will return false.
A match occurs when any of the following happens:
Value is a IEnumerable or JArray and one of the elements matches matchValueValue is a IDictionary and the key matches matchValueValue is a KeyValuePair and the key matches matchValue
If matchValue is a KeyValuePair, both the key and value must match
Value is a String and matchValue is contained within
Otherwise ValueEquals(Object) is applied against matchValue
|