The universal type that represents a value.
Inheritance Hierarchy
Nemiro.OAuth UniValue
Nemiro.OAuth RequestResult
Namespace: Nemiro.OAuth
Assembly: Nemiro.OAuth (in Nemiro.OAuth.dll) Version: 1.9.4.725 (1.9.4.725)
Syntax
The UniValue type exposes the following members.
Constructors
Name | Description | |
---|---|---|
UniValue |
Initializes a new instance of the UniValue.
|
Methods
Name | Description | |
---|---|---|
Add(String, UniValue) |
Adds the specified key and value to the UniValue.
| |
Add(String, UniValue, UniValue) |
Adds the specified key and value to the UniValue.
| |
Clone |
Creates a new object that is a copy of the current UniValue instance.
| |
ContainsAttribute |
Determines whether the Attributes contains the specified key.
| |
ContainsKey |
Determines whether the CollectionItems contains the specified key.
| |
Create |
Initializes a new UniValue instance.
| |
Create(Object) |
Initializes a new UniValue instance with a specified value.
| |
Create(Object, NameValueCollection) |
Initializes a new UniValue instance with a specified value and attributes.
| |
Equals(Object) |
Determines whether two object instances are equal.
(Overrides Object Equals(Object).) | |
Equals(String) |
Determines whether this instance and another specified String object have the same value.
| |
Equals(UniValue) |
Determines whether two UniValue instances are equal.
| |
Equals(String, StringComparison) |
Determines whether this string and a specified String object have the same value. A parameter specifies the culture, case, and sort rules used in the comparison.
| |
Finalize | (Inherited from Object.) | |
GetAttributes |
Returns a collection of custom attributes for this instance of a component.
| |
GetClassName |
Returns the class name of this instance of a component.
| |
GetComponentName |
Returns the name of this instance of a component.
| |
GetConverter |
Returns a type converter for this instance of a component.
| |
GetDefaultEvent |
Returns the default event for this instance of a component.
| |
GetDefaultProperty |
Returns the default property for this instance of a component.
| |
GetEditor |
Returns an editor of the specified type for this instance of a component.
| |
GetEnumerator |
Returns an enumerator that iterates through a collection.
| |
GetEvents |
Returns the events for this instance of a component.
| |
GetEvents( Attribute ) |
Returns the events for this instance of a component using the specified attribute array as a filter.
| |
GetHashCode |
Serves as a hash function for a particular type.
(Overrides Object GetHashCode .) | |
GetList | ||
GetObjectData |
Populates a SerializationInfo with the data needed to serialize the target object.
| |
GetProperties |
Returns the properties for this instance of a component.
| |
GetProperties( Attribute ) |
Returns the properties for this instance of a component using the attribute array as a filter.
| |
GetPropertyOwner |
Returns an object that contains the property described by the specified property descriptor.
| |
GetType | (Inherited from Object.) | |
GetTypeCode |
Gets the underlying type code of the Data.
| |
IsNullOrEmpty |
Indicates whether the specified value is null or an Empty.
| |
MemberwiseClone | (Inherited from Object.) | |
ParseJson |
Converts the specified JSON string to an UniValue.
| |
ParseParameters |
Converts the specified parameters string to an UniValue.
| |
ParseXml |
Converts the specified XML string to an UniValue.
| |
Remove |
Removes the value with the specified key from the UniValue.
| |
ToBinary |
Returns a Byte array that represents the current UniValue.
| |
ToBoolean |
Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.
| |
ToByte |
Converts the value this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information.
| |
ToChar |
Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.
| |
ToDateTime |
Converts the value of this instance to an equivalent DateTime using the specified culture-specific formatting information.
| |
ToDecimal |
Converts the value of this instance to an equivalent Decimal number using the specified culture-specific formatting information.
| |
ToDictionary |
Copies items of the UniValue to a new Dictionary<string, object>.
| |
ToDouble |
Converts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information.
| |
ToInt16 |
Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information.
| |
ToInt32 |
Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information.
| |
ToInt64 |
Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information.
| |
ToNameValueCollection |
Copies items of the UniValue to a new NameValueCollection.
| |
ToSByte |
Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information.
| |
ToSingle |
Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.
| |
ToString |
Returns a string that represents the current UniValue.
(Overrides Object ToString .) | |
ToString(IFormatProvider) |
Converts the value of this instance to an equivalent String using the specified culture-specific formatting information.
| |
ToType | ||
ToUInt16 |
Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information.
| |
ToUInt32 |
Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information.
| |
ToUInt64 |
Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.
| |
TryParseJson |
Converts the specified JSON string to an UniValue. A return value indicates whether the conversion succeeded.
| |
TryParseParameters |
Converts the specified url parameters string to an UniValue. A return value indicates whether the conversion succeeded.
| |
TryParseXml |
Converts the specified XML string to an UniValue. A return value indicates whether the conversion succeeded.
|
Operators
Name | Description | |
---|---|---|
Equality(UniValue, UniValue) |
Indicate whether two UniValue are equal.
| |
Equality(UniValue, String) |
Indicate whether UniValue and String are equal.
| |
(UniValue to NameValueCollection) |
Converts the UniValue as a NameValueCollection.
| |
(UniValue to Dictionary String, Object ) |
Converts the UniValue as a Dictionary<string, object>.
| |
(UniValue to UniValue ) |
Converts the UniValue as an UniValue array.
| |
(UniValue to Array) |
Converts the UniValue as an array.
| |
(UniValue to Byte ) |
Converts the UniValue as a Byte array.
| |
(UniValue to Stream) |
Converts the UniValue as a Stream.
| |
(UniValue to Byte) |
Converts the UniValue as a Byte.
| |
(UniValue to SByte) |
Converts the UniValue as a SByte.
| |
(UniValue to Char) |
Converts the UniValue as a Char.
| |
(UniValue to Boolean) |
Converts the UniValue as a Boolean.
| |
(UniValue to DateTime) |
Converts the UniValue as a DateTime.
| |
(UniValue to Int16) |
Converts the UniValue as an Int16.
| |
(UniValue to Int32) |
Converts the UniValue as an Int32.
| |
(UniValue to Int64) |
Converts the UniValue as an Int64.
| |
(UniValue to UInt16) |
Converts the UniValue as an UInt16.
| |
(UniValue to UInt32) |
Converts the UniValue as an UInt32.
| |
(UniValue to UInt64) |
Converts the UniValue as an UInt64.
| |
(UniValue to Double) |
Converts the UniValue as a Double.
| |
(UniValue to Decimal) |
Converts the UniValue as a Decimal.
| |
(UniValue to Single) |
Converts the UniValue as a Single.
| |
(UniValue to String) |
Converts the UniValue as a String.
| |
(Array to UniValue) |
Creates a new UniValue instance from array.
| |
(Boolean to UniValue) |
Creates a new UniValue instance from Boolean.
| |
(Byte to UniValue) |
Creates a new UniValue instance from Byte.
| |
( Byte to UniValue) |
Creates a new UniValue instance from Byte array.
| |
(Char to UniValue) |
Creates a new UniValue instance from Char.
| |
(Dictionary String, Object to UniValue) |
Creates a new UniValue instance from Dictionary<string, object>.
| |
(NameValueCollection to UniValue) |
Creates a new UniValue instance from NameValueCollection.
| |
(DateTime to UniValue) |
Creates a new UniValue instance from DateTime.
| |
(Decimal to UniValue) |
Creates a new UniValue instance from Decimal.
| |
(Double to UniValue) |
Creates a new UniValue instance from Double.
| |
(Int16 to UniValue) |
Creates a new UniValue instance from Int16.
| |
(Int32 to UniValue) |
Creates a new UniValue instance from Int32.
| |
(Int64 to UniValue) |
Creates a new UniValue instance from Int64.
| |
(SByte to UniValue) |
Creates a new UniValue instance from SByte.
| |
(Single to UniValue) |
Creates a new UniValue instance from Single.
| |
(String to UniValue) |
Creates a new UniValue instance from String.
| |
(StringBuilder to UniValue) |
Creates a new UniValue instance from StringBuilder.
| |
(UInt16 to UniValue) |
Creates a new UniValue instance from UInt16.
| |
(UInt32 to UniValue) |
Creates a new UniValue instance from UInt32.
| |
(UInt64 to UniValue) |
Creates a new UniValue instance from UInt64.
| |
(UniValueCollection to UniValue) |
Creates a new UniValue instance from UniValueCollection.
| |
Inequality(UniValue, UniValue) |
Indicate whether two UniValue are not equal.
| |
Inequality(UniValue, String) |
Indicate whether UniValue and String are not equal.
|
Properties
Name | Description | |
---|---|---|
Attributes |
Gets or sets an attributes of the XML item (only for XML).
| |
CollectionItems |
Gets a collection of string keys and UniValue values of the current UniValue.
| |
ContainsListCollection |
Gets a value indicating whether the collection is a collection of IList objects.
| |
Count |
Gets the number of elements actually contained in the CollectionItems.
| |
Empty |
Represents the empty UniValue.
| |
HasAttributes |
Gets a value indicating whether the current UniValue object has an attributes (only for xml data type).
| |
HasValue |
Gets a value indicating whether the current UniValue object has a value.
| |
IsBinary |
Gets a value that indicates whether the data type of the UniValue is equal to Byte array.
| |
IsBoolean |
Gets a value that indicates whether the data type of the UniValue is equal to Boolean.
| |
IsCollection |
Gets a value that indicates whether the data type of the UniValue is equal to UniValueCollection.
| |
IsDateTime |
Gets a value that indicates whether the data type of the UniValue is equal to DateTime.
| |
IsNumeric |
Gets a value that indicates whether the data type of the UniValue is equal to numeric type.
| |
IsString |
Gets a value that indicates whether the data type of the UniValue is equal to String.
| |
IsValue |
Gets a value that indicates whether the data type of the UniValue is equal to UniValue.
| |
Item Int32 |
Gets the value associated with the specified index of the CollectionItems.
| |
Item String |
Gets the value associated with the specified key of the CollectionItems.
| |
Key |
Gets or sets the key for the current item, if the current item included into the collection.
| |
Parent |
The parent of the current item, if the current item included into the collection.
|
Remarks
UniValue represents any type of data.
See Also