UniValue ClassNemiro.OAuth
The universal type that represents a value.
Inheritance Hierarchy

System Object
  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

[SerializableAttribute]
public class UniValue : IEnumerable<UniValue>, 
	IEnumerable, IConvertible, ICloneable, ISerializable, IListSource, 
	ICustomTypeDescriptor

The UniValue type exposes the following members.

Constructors

  NameDescription
Protected methodUniValue
Initializes a new instance of the UniValue.
Top
Methods

  NameDescription
Public methodAdd(String, UniValue)
Adds the specified key and value to the UniValue.
Public methodAdd(String, UniValue, UniValue)
Adds the specified key and value to the UniValue.
Public methodClone
Creates a new object that is a copy of the current UniValue instance.
Public methodContainsAttribute
Determines whether the Attributes contains the specified key.
Public methodContainsKey
Determines whether the CollectionItems contains the specified key.
Public methodStatic memberCreate 
Initializes a new UniValue instance.
Public methodStatic memberCreate(Object)
Initializes a new UniValue instance with a specified value.
Public methodStatic memberCreate(Object, NameValueCollection)
Initializes a new UniValue instance with a specified value and attributes.
Public methodEquals(Object)
Determines whether two object instances are equal.
(Overrides Object Equals(Object).)
Public methodEquals(String)
Determines whether this instance and another specified String object have the same value.
Public methodEquals(UniValue)
Determines whether two UniValue instances are equal.
Public methodEquals(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.
Protected methodFinalize (Inherited from Object.)
Public methodGetAttributes
Returns a collection of custom attributes for this instance of a component.
Public methodGetClassName
Returns the class name of this instance of a component.
Public methodGetComponentName
Returns the name of this instance of a component.
Public methodGetConverter
Returns a type converter for this instance of a component.
Public methodGetDefaultEvent
Returns the default event for this instance of a component.
Public methodGetDefaultProperty
Returns the default property for this instance of a component.
Public methodGetEditor
Returns an editor of the specified type for this instance of a component.
Public methodGetEnumerator
Returns an enumerator that iterates through a collection.
Public methodGetEvents 
Returns the events for this instance of a component.
Public methodGetEvents( Attribute )
Returns the events for this instance of a component using the specified attribute array as a filter.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides Object GetHashCode .)
Public methodGetList
Returns an IList that can be bound to a data source from an object that does not implement an IList itself.
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
Public methodGetProperties 
Returns the properties for this instance of a component.
Public methodGetProperties( Attribute )
Returns the properties for this instance of a component using the attribute array as a filter.
Public methodGetPropertyOwner
Returns an object that contains the property described by the specified property descriptor.
Public methodGetType (Inherited from Object.)
Public methodGetTypeCode
Gets the underlying type code of the Data.
Public methodStatic memberIsNullOrEmpty
Indicates whether the specified value is null or an Empty.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberParseJson
Converts the specified JSON string to an UniValue.
Public methodStatic memberParseParameters
Converts the specified parameters string to an UniValue.
Public methodStatic memberParseXml
Converts the specified XML string to an UniValue.
Public methodRemove
Removes the value with the specified key from the UniValue.
Public methodToBinary
Returns a Byte array that represents the current UniValue.
Public methodToBoolean
Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.
Public methodToByte
Converts the value this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information.
Public methodToChar
Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.
Public methodToDateTime
Converts the value of this instance to an equivalent DateTime using the specified culture-specific formatting information.
Public methodToDecimal
Converts the value of this instance to an equivalent Decimal number using the specified culture-specific formatting information.
Public methodToDictionary
Copies items of the UniValue to a new Dictionary<string, object>.
Public methodToDouble
Converts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information.
Public methodToInt16
Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information.
Public methodToInt32
Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information.
Public methodToInt64
Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information.
Public methodToNameValueCollection
Copies items of the UniValue to a new NameValueCollection.
Public methodToSByte
Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information.
Public methodToSingle
Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.
Public methodToString 
Returns a string that represents the current UniValue.
(Overrides Object ToString .)
Public methodToString(IFormatProvider)
Converts the value of this instance to an equivalent String using the specified culture-specific formatting information.
Public methodToType
Converts the value of this instance to an Object of the specified Type that has an equivalent value, using the specified culture-specific formatting information.
Public methodToUInt16
Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information.
Public methodToUInt32
Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information.
Public methodToUInt64
Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.
Public methodStatic memberTryParseJson
Converts the specified JSON string to an UniValue. A return value indicates whether the conversion succeeded.
Public methodStatic memberTryParseParameters
Converts the specified url parameters string to an UniValue. A return value indicates whether the conversion succeeded.
Public methodStatic memberTryParseXml
Converts the specified XML string to an UniValue. A return value indicates whether the conversion succeeded.
Top
Operators

  NameDescription
Public operatorStatic memberEquality(UniValue, UniValue)
Indicate whether two UniValue are equal.
Public operatorStatic memberEquality(UniValue, String)
Indicate whether UniValue and String are equal.
Public operatorStatic member (UniValue to NameValueCollection)
Converts the UniValue as a NameValueCollection.
Public operatorStatic member (UniValue to Dictionary String, Object )
Converts the UniValue as a Dictionary<string, object>.
Public operatorStatic member (UniValue to  UniValue )
Converts the UniValue as an UniValue array.
Public operatorStatic member (UniValue to Array)
Converts the UniValue as an array.
Public operatorStatic member (UniValue to  Byte )
Converts the UniValue as a Byte array.
Public operatorStatic member (UniValue to Stream)
Converts the UniValue as a Stream.
Public operatorStatic member (UniValue to Byte)
Converts the UniValue as a Byte.
Public operatorStatic member (UniValue to SByte)
Converts the UniValue as a SByte.
Public operatorStatic member (UniValue to Char)
Converts the UniValue as a Char.
Public operatorStatic member (UniValue to Boolean)
Converts the UniValue as a Boolean.
Public operatorStatic member (UniValue to DateTime)
Converts the UniValue as a DateTime.
Public operatorStatic member (UniValue to Int16)
Converts the UniValue as an Int16.
Public operatorStatic member (UniValue to Int32)
Converts the UniValue as an Int32.
Public operatorStatic member (UniValue to Int64)
Converts the UniValue as an Int64.
Public operatorStatic member (UniValue to UInt16)
Converts the UniValue as an UInt16.
Public operatorStatic member (UniValue to UInt32)
Converts the UniValue as an UInt32.
Public operatorStatic member (UniValue to UInt64)
Converts the UniValue as an UInt64.
Public operatorStatic member (UniValue to Double)
Converts the UniValue as a Double.
Public operatorStatic member (UniValue to Decimal)
Converts the UniValue as a Decimal.
Public operatorStatic member (UniValue to Single)
Converts the UniValue as a Single.
Public operatorStatic member (UniValue to String)
Converts the UniValue as a String.
Public operatorStatic member (Array to UniValue)
Creates a new UniValue instance from array.
Public operatorStatic member (Boolean to UniValue)
Creates a new UniValue instance from Boolean.
Public operatorStatic member (Byte to UniValue)
Creates a new UniValue instance from Byte.
Public operatorStatic member ( Byte  to UniValue)
Creates a new UniValue instance from Byte array.
Public operatorStatic member (Char to UniValue)
Creates a new UniValue instance from Char.
Public operatorStatic member (Dictionary String, Object  to UniValue)
Creates a new UniValue instance from Dictionary<string, object>.
Public operatorStatic member (NameValueCollection to UniValue)
Creates a new UniValue instance from NameValueCollection.
Public operatorStatic member (DateTime to UniValue)
Creates a new UniValue instance from DateTime.
Public operatorStatic member (Decimal to UniValue)
Creates a new UniValue instance from Decimal.
Public operatorStatic member (Double to UniValue)
Creates a new UniValue instance from Double.
Public operatorStatic member (Int16 to UniValue)
Creates a new UniValue instance from Int16.
Public operatorStatic member (Int32 to UniValue)
Creates a new UniValue instance from Int32.
Public operatorStatic member (Int64 to UniValue)
Creates a new UniValue instance from Int64.
Public operatorStatic member (SByte to UniValue)
Creates a new UniValue instance from SByte.
Public operatorStatic member (Single to UniValue)
Creates a new UniValue instance from Single.
Public operatorStatic member (String to UniValue)
Creates a new UniValue instance from String.
Public operatorStatic member (StringBuilder to UniValue)
Creates a new UniValue instance from StringBuilder.
Public operatorStatic member (UInt16 to UniValue)
Creates a new UniValue instance from UInt16.
Public operatorStatic member (UInt32 to UniValue)
Creates a new UniValue instance from UInt32.
Public operatorStatic member (UInt64 to UniValue)
Creates a new UniValue instance from UInt64.
Public operatorStatic member (UniValueCollection to UniValue)
Creates a new UniValue instance from UniValueCollection.
Public operatorStatic memberInequality(UniValue, UniValue)
Indicate whether two UniValue are not equal.
Public operatorStatic memberInequality(UniValue, String)
Indicate whether UniValue and String are not equal.
Top
Properties

  NameDescription
Public propertyAttributes
Gets or sets an attributes of the XML item (only for XML).
Public propertyCollectionItems
Gets a collection of string keys and UniValue values of the current UniValue.
Public propertyContainsListCollection
Gets a value indicating whether the collection is a collection of IList objects.
Public propertyCount
Gets the number of elements actually contained in the CollectionItems.
Public propertyStatic memberEmpty
Represents the empty UniValue.
Public propertyHasAttributes
Gets a value indicating whether the current UniValue object has an attributes (only for xml data type).
Public propertyHasValue
Gets a value indicating whether the current UniValue object has a value.
Public propertyIsBinary
Gets a value that indicates whether the data type of the UniValue is equal to Byte array.
Public propertyIsBoolean
Gets a value that indicates whether the data type of the UniValue is equal to Boolean.
Public propertyIsCollection
Gets a value that indicates whether the data type of the UniValue is equal to UniValueCollection.
Public propertyIsDateTime
Gets a value that indicates whether the data type of the UniValue is equal to DateTime.
Public propertyIsNumeric
Gets a value that indicates whether the data type of the UniValue is equal to numeric type.
Public propertyIsString
Gets a value that indicates whether the data type of the UniValue is equal to String.
Public propertyIsValue
Gets a value that indicates whether the data type of the UniValue is equal to UniValue.
Public propertyItem Int32 
Gets the value associated with the specified index of the CollectionItems.
Public propertyItem String 
Gets the value associated with the specified key of the CollectionItems.
Public propertyKey
Gets or sets the key for the current item, if the current item included into the collection.
Public propertyParent
The parent of the current item, if the current item included into the collection.
Top
Remarks

UniValue represents any type of data.

See Also