Show / Hide Table of Contents

Class ObjectValue

Defines values that are composed of a collection of name-value pairs.

Inheritance
object
ElementValue
CollectionElementValue
ObjectValue
Inherited Members
ElementValue.Type
ElementValue.Create(object, string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Quantellia.WMServer.DecisionModeler.ValueTypes
Assembly: WMServer.dll
Syntax
public class ObjectValue : CollectionElementValue

Constructors

ObjectValue()

Declaration
public ObjectValue()

ObjectValue(Dictionary<string, ElementValue>)

Declaration
public ObjectValue(Dictionary<string, ElementValue> val)
Parameters
Type Name Description
Dictionary<string, ElementValue> val

ObjectValue(Dictionary<string, object>)

Declaration
public ObjectValue(Dictionary<string, object> val)
Parameters
Type Name Description
Dictionary<string, object> val

ObjectValue(DataRow)

Declaration
public ObjectValue(DataRow row)
Parameters
Type Name Description
DataRow row

ObjectValue(JsonElement)

Declaration
public ObjectValue(JsonElement jElem)
Parameters
Type Name Description
JsonElement jElem

Properties

Keys

Get the keys of this object as an array of strings.

Declaration
public string[] Keys { get; }
Property Value
Type Description
string[]

Value

Declaration
public Dictionary<string, ElementValue> Value { get; set; }
Property Value
Type Description
Dictionary<string, ElementValue>

Methods

FromTemplate(ObjectTemplate)

Create a new ObjectValue instance whose keys are defined by the supplied ObjectTemplate

Declaration
public static ObjectValue FromTemplate(ObjectTemplate template)
Parameters
Type Name Description
ObjectTemplate template
Returns
Type Description
ObjectValue

ToCSV(bool, string?, string)

Convert the object to a CSV string.

Declaration
public override string ToCSV(bool includeHeaders = true, string? stringEnclosure = null, string delimiter = ",")
Parameters
Type Name Description
bool includeHeaders
string stringEnclosure
string delimiter
Returns
Type Description
string
Overrides
ElementValue.ToCSV(bool, string?, string)
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE