Skip to content

ComplexValueBuilder.AddProperty Method

Definition

Namespace: Corvus.Text.Json.Internal
Assembly: Corvus.Text.Json.dll

Overloads

Method Description
AddProperty(ReadOnlySpan<byte>, ComplexValueBuilder.ValueBuilderAction)
AddProperty(ReadOnlySpan<byte>, ref TContext, ComplexValueBuilder.ValueBuilderAction<TContext>)
AddProperty(ReadOnlySpan<byte>, ComplexValueBuilder.ValueBuilderAction, bool, bool)
AddProperty(ReadOnlySpan<byte>, ref TContext, ComplexValueBuilder.ValueBuilderAction<TContext>, bool, bool)
AddProperty(ReadOnlySpan<char>, ComplexValueBuilder.ValueBuilderAction)
AddProperty(ReadOnlySpan<char>, ref TContext, ComplexValueBuilder.ValueBuilderAction<TContext>)
AddProperty(ReadOnlySpan<byte>, ReadOnlySpan<byte>) Adds a property with a string value to the current object.
AddProperty(ReadOnlySpan<byte>, ReadOnlySpan<byte>, bool, bool, bool, bool) Adds a property with a string value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<byte>, ReadOnlySpan<char>, bool, bool) Adds a property with a string value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, ReadOnlySpan<char>) Adds a property with a string value to the current object.
AddProperty(ReadOnlySpan<char>, ReadOnlySpan<byte>, bool, bool) Adds a property with a string value to the current object, with control over escaping the value.
AddProperty(ReadOnlySpan<byte>, bool) Adds a property with a boolean value to the current object.
AddProperty(ReadOnlySpan<byte>, bool, bool, bool) Adds a property with a boolean value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, bool) Adds a property with a boolean value to the current object.
AddProperty(ReadOnlySpan<byte>, ref T) Adds a property with a JSON element value to the current object.
AddProperty(ReadOnlySpan<byte>, T, bool, bool) Adds a property with a JSON element value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, T) Adds a property with a JSON element value to the current object.
AddProperty(ReadOnlySpan<byte>, Guid) Adds a property with a Guid value to the current object.
AddProperty(ReadOnlySpan<byte>, Guid, bool, bool) Adds a property with a Guid value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, Guid) Adds a property with a Guid value to the current object.
AddProperty(ReadOnlySpan<byte>, ref DateTime) Adds a property with a DateTime value to the current object.
AddProperty(ReadOnlySpan<byte>, ref DateTime, bool, bool) Adds a property with a DateTime value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, ref DateTime) Adds a property with a DateTime value to the current object.
AddProperty(ReadOnlySpan<byte>, ref DateTimeOffset) Adds a property with a DateTimeOffset value to the current object.
AddProperty(ReadOnlySpan<byte>, ref DateTimeOffset, bool, bool) Adds a property with a DateTimeOffset value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, ref DateTimeOffset) Adds a property with a DateTimeOffset value to the current object.
AddProperty(ReadOnlySpan<byte>, ref OffsetDateTime) Adds a property with a OffsetDateTime value to the current object.
AddProperty(ReadOnlySpan<byte>, ref OffsetDateTime, bool, bool) Adds a property with a OffsetDateTime value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, ref OffsetDateTime) Adds a property with a OffsetDateTime value to the current object.
AddProperty(ReadOnlySpan<byte>, ref OffsetTime) Adds a property with a OffsetTime value to the current object.
AddProperty(ReadOnlySpan<byte>, ref OffsetTime, bool, bool) Adds a property with a OffsetTime value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, ref OffsetTime) Adds a property with a OffsetTime value to the current object.
AddProperty(ReadOnlySpan<byte>, ref OffsetDate) Adds a property with a OffsetDate value to the current object.
AddProperty(ReadOnlySpan<byte>, ref OffsetDate, bool, bool) Adds a property with a OffsetDate value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, ref OffsetDate) Adds a property with a OffsetDate value to the current object.
AddProperty(ReadOnlySpan<byte>, ref LocalDate) Adds a property with a LocalDate value to the current object.
AddProperty(ReadOnlySpan<byte>, ref LocalDate, bool, bool) Adds a property with a LocalDate value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, ref LocalDate) Adds a property with a LocalDate value to the current object.
AddProperty(ReadOnlySpan<byte>, ref Period) Adds a property with a Period value to the current object.
AddProperty(ReadOnlySpan<byte>, ref Period, bool, bool) Adds a property with a Period value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, ref Period) Adds a property with a Period value to the current object.
AddProperty(ReadOnlySpan<byte>, sbyte) Adds a property with an SByte value to the current object.
AddProperty(ReadOnlySpan<byte>, sbyte, bool, bool) Adds a property with an SByte value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, sbyte) Adds a property with an SByte value to the current object.
AddProperty(ReadOnlySpan<byte>, byte) Adds a property with a Byte value to the current object.
AddProperty(ReadOnlySpan<byte>, byte, bool, bool) Adds a property with a Byte value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, byte) Adds a property with a Byte value to the current object.
AddProperty(ReadOnlySpan<byte>, int) Adds a property with an Int32 value to the current object.
AddProperty(ReadOnlySpan<byte>, int, bool, bool) Adds a property with an Int32 value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, int) Adds a property with an Int32 value to the current object.
AddProperty(ReadOnlySpan<byte>, uint) Adds a property with a UInt32 value to the current object.
AddProperty(ReadOnlySpan<byte>, uint, bool, bool) Adds a property with a UInt32 value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, uint) Adds a property with a UInt32 value to the current object.
AddProperty(ReadOnlySpan<byte>, long) Adds a property with a Int64 value to the current object.
AddProperty(ReadOnlySpan<byte>, long, bool, bool) Adds a property with a Int64 value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, long) Adds a property with a Int64 value to the current object.
AddProperty(ReadOnlySpan<byte>, ulong) Adds a property with a UInt64 value to the current object.
AddProperty(ReadOnlySpan<byte>, ulong, bool, bool) Adds a property with a UInt64 value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, ulong) Adds a property with a UInt64 value to the current object.
AddProperty(ReadOnlySpan<byte>, short) Adds a property with a Int16 value to the current object.
AddProperty(ReadOnlySpan<byte>, short, bool, bool) Adds a property with a Int16 value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, short) Adds a property with a Int16 value to the current object.
AddProperty(ReadOnlySpan<byte>, ushort) Adds a property with a UInt16 value to the current object.
AddProperty(ReadOnlySpan<byte>, ushort, bool, bool) Adds a property with a UInt16 value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, ushort) Adds a property with a UInt16 value to the current object.
AddProperty(ReadOnlySpan<byte>, float) Adds a property with a Single value to the current object.
AddProperty(ReadOnlySpan<byte>, float, bool, bool) Adds a property with a Single value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, float) Adds a property with a Single value to the current object.
AddProperty(ReadOnlySpan<byte>, double) Adds a property with a Double value to the current object.
AddProperty(ReadOnlySpan<byte>, double, bool, bool) Adds a property with a Double value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, double) Adds a property with a Double value to the current object.
AddProperty(ReadOnlySpan<byte>, decimal) Adds a property with a Decimal value to the current object.
AddProperty(ReadOnlySpan<byte>, decimal, bool, bool) Adds a property with a Decimal value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, decimal) Adds a property with a Decimal value to the current object.
AddProperty(ReadOnlySpan<byte>, ref BigInteger) Adds a property with a BigInteger value to the current object.
AddProperty(ReadOnlySpan<byte>, ref BigInteger, bool, bool) Adds a property with a BigInteger value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, ref BigInteger) Adds a property with a BigInteger value to the current object.
AddProperty(ReadOnlySpan<byte>, ref BigNumber) Adds a property with a BigNumber value to the current object.
AddProperty(ReadOnlySpan<byte>, ref BigNumber, bool, bool) Adds a property with a BigNumber value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, ref BigNumber) Adds a property with a BigNumber value to the current object.
AddProperty(ReadOnlySpan<byte>, Int128) Adds a property with an Int128 value to the current object.
AddProperty(ReadOnlySpan<byte>, Int128, bool, bool) Adds a property with an Int128 value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, Int128) Adds a property with an Int128 value to the current object.
AddProperty(ReadOnlySpan<byte>, UInt128) Adds a property with a UInt128 value to the current object.
AddProperty(ReadOnlySpan<byte>, UInt128, bool, bool) Adds a property with a UInt128 value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, UInt128) Adds a property with a UInt128 value to the current object.
AddProperty(ReadOnlySpan<byte>, Half) Adds a property with a Half value to the current object.
AddProperty(ReadOnlySpan<byte>, Half, bool, bool) Adds a property with a Half value to the current object, with control over escaping.
AddProperty(ReadOnlySpan<char>, Half) Adds a property with a Half value to the current object.

AddProperty(ReadOnlySpan<byte>, ComplexValueBuilder.ValueBuilderAction)

Source: ComplexValueBuilder.cs

public void AddProperty(ReadOnlySpan<byte> propertyName, ComplexValueBuilder.ValueBuilderAction createComplexValue)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte>
createComplexValue ComplexValueBuilder.ValueBuilderAction

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref TContext, ComplexValueBuilder.ValueBuilderAction<TContext>)

Source: ComplexValueBuilder.cs

public void AddProperty<TContext>(ReadOnlySpan<byte> propertyName, ref TContext context, ComplexValueBuilder.ValueBuilderAction<TContext> createComplexValue)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte>
context ref TContext
createComplexValue ComplexValueBuilder.ValueBuilderAction<TContext>

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ComplexValueBuilder.ValueBuilderAction, bool, bool)

Source: ComplexValueBuilder.cs

public void AddProperty(ReadOnlySpan<byte> propertyName, ComplexValueBuilder.ValueBuilderAction createComplexValue, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte>
createComplexValue ComplexValueBuilder.ValueBuilderAction
escapeName bool
nameRequiresUnescaping bool

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref TContext, ComplexValueBuilder.ValueBuilderAction<TContext>, bool, bool)

Source: ComplexValueBuilder.cs

public void AddProperty<TContext>(ReadOnlySpan<byte> propertyName, ref TContext context, ComplexValueBuilder.ValueBuilderAction<TContext> createComplexValue, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte>
context ref TContext
createComplexValue ComplexValueBuilder.ValueBuilderAction<TContext>
escapeName bool
nameRequiresUnescaping bool

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, ComplexValueBuilder.ValueBuilderAction)

Source: ComplexValueBuilder.cs

public void AddProperty(ReadOnlySpan<char> propertyName, ComplexValueBuilder.ValueBuilderAction createComplexValue)

Parameters

Name Type Description
propertyName ReadOnlySpan<char>
createComplexValue ComplexValueBuilder.ValueBuilderAction

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, ref TContext, ComplexValueBuilder.ValueBuilderAction<TContext>)

Source: ComplexValueBuilder.cs

public void AddProperty<TContext>(ReadOnlySpan<char> propertyName, ref TContext context, ComplexValueBuilder.ValueBuilderAction<TContext> createComplexValue)

Parameters

Name Type Description
propertyName ReadOnlySpan<char>
context ref TContext
createComplexValue ComplexValueBuilder.ValueBuilderAction<TContext>

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ReadOnlySpan<byte>)

Source: ComplexValueBuilder.cs

Adds a property with a string value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, ReadOnlySpan<byte> utf8String)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
utf8String ReadOnlySpan<byte> The property value as a UTF-8 byte span.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ReadOnlySpan<byte>, bool, bool, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a string value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, ReadOnlySpan<byte> utf8String, bool escapeName, bool escapeValue, bool nameRequiresUnescaping, bool valueRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
utf8String ReadOnlySpan<byte> The property value as a UTF-8 byte span.
escapeName bool Whether to escape the property name.
escapeValue bool Whether to escape the property value.
nameRequiresUnescaping bool Whether the property name requires unescaping.
valueRequiresUnescaping bool Whether the property value requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ReadOnlySpan<char>, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a string value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, ReadOnlySpan<char> value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ReadOnlySpan<char> The property value as a character span.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, ReadOnlySpan<char>)

Source: ComplexValueBuilder.cs

Adds a property with a string value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, ReadOnlySpan<char> value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value ReadOnlySpan<char> The property value as a character span.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, ReadOnlySpan<byte>, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a string value to the current object, with control over escaping the value.

public void AddProperty(ReadOnlySpan<char> propertyName, ReadOnlySpan<byte> value, bool escapeValue, bool valueRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value ReadOnlySpan<byte> The property value as a UTF-8 byte span.
escapeValue bool Whether to escape the property value.
valueRequiresUnescaping bool Whether the property value requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, bool)

Source: ComplexValueBuilder.cs

Adds a property with a boolean value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, bool value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value bool The boolean value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, bool, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a boolean value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, bool value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value bool The boolean value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, bool)

Source: ComplexValueBuilder.cs

Adds a property with a boolean value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, bool value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value bool The boolean value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref T)

Source: ComplexValueBuilder.cs

Adds a property with a JSON element value to the current object.

public void AddProperty<T>(ReadOnlySpan<byte> propertyName, ref T value)
    where T : struct, IJsonElement<T>

Type Parameters

Parameter Description
T The type of the JSON element value.

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ref T The JSON element value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, T, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a JSON element value to the current object, with control over escaping.

public void AddProperty<T>(ReadOnlySpan<byte> propertyName, T value, bool escapeName, bool nameRequiresUnescaping)
    where T : struct, IJsonElement<T>

Type Parameters

Parameter Description
T The type of the JSON element value.

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value T The JSON element value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, T)

Source: ComplexValueBuilder.cs

Adds a property with a JSON element value to the current object.

public void AddProperty<T>(ReadOnlySpan<char> propertyName, T value)
    where T : struct, IJsonElement<T>

Type Parameters

Parameter Description
T The type of the JSON element value.

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value T The JSON element value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, Guid)

Source: ComplexValueBuilder.cs

Adds a property with a Guid value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, Guid value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value Guid The Guid value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, Guid, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a Guid value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, Guid value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value Guid The Guid value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, Guid)

Source: ComplexValueBuilder.cs

Adds a property with a Guid value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, Guid value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value Guid The Guid value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref DateTime)

Source: ComplexValueBuilder.cs

Adds a property with a DateTime value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, ref DateTime value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ref DateTime The DateTime value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref DateTime, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a DateTime value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, ref DateTime value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ref DateTime The DateTime value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, ref DateTime)

Source: ComplexValueBuilder.cs

Adds a property with a DateTime value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, ref DateTime value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value ref DateTime The DateTime value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref DateTimeOffset)

Source: ComplexValueBuilder.cs

Adds a property with a DateTimeOffset value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, ref DateTimeOffset value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ref DateTimeOffset The DateTimeOffset value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref DateTimeOffset, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a DateTimeOffset value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, ref DateTimeOffset value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ref DateTimeOffset The DateTimeOffset value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, ref DateTimeOffset)

Source: ComplexValueBuilder.cs

Adds a property with a DateTimeOffset value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, ref DateTimeOffset value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value ref DateTimeOffset The DateTimeOffset value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref OffsetDateTime)

Source: ComplexValueBuilder.cs

Adds a property with a OffsetDateTime value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, ref OffsetDateTime value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ref OffsetDateTime The OffsetDateTime value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref OffsetDateTime, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a OffsetDateTime value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, ref OffsetDateTime value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ref OffsetDateTime The OffsetDateTime value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, ref OffsetDateTime)

Source: ComplexValueBuilder.cs

Adds a property with a OffsetDateTime value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, ref OffsetDateTime value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value ref OffsetDateTime The OffsetDateTime value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref OffsetTime)

Source: ComplexValueBuilder.cs

Adds a property with a OffsetTime value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, ref OffsetTime value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ref OffsetTime The OffsetTime value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref OffsetTime, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a OffsetTime value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, ref OffsetTime value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ref OffsetTime The OffsetTime value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, ref OffsetTime)

Source: ComplexValueBuilder.cs

Adds a property with a OffsetTime value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, ref OffsetTime value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value ref OffsetTime The OffsetTime value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref OffsetDate)

Source: ComplexValueBuilder.cs

Adds a property with a OffsetDate value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, ref OffsetDate value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ref OffsetDate The OffsetDate value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref OffsetDate, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a OffsetDate value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, ref OffsetDate value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ref OffsetDate The OffsetDate value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, ref OffsetDate)

Source: ComplexValueBuilder.cs

Adds a property with a OffsetDate value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, ref OffsetDate value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value ref OffsetDate The OffsetDate value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref LocalDate)

Source: ComplexValueBuilder.cs

Adds a property with a LocalDate value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, ref LocalDate value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ref LocalDate The LocalDate value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref LocalDate, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a LocalDate value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, ref LocalDate value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ref LocalDate The LocalDate value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, ref LocalDate)

Source: ComplexValueBuilder.cs

Adds a property with a LocalDate value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, ref LocalDate value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value ref LocalDate The LocalDate value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref Period)

Source: ComplexValueBuilder.cs

Adds a property with a Period value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, ref Period value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ref Period The Period value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref Period, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a Period value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, ref Period value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ref Period The Period value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, ref Period)

Source: ComplexValueBuilder.cs

Adds a property with a Period value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, ref Period value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value ref Period The Period value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, sbyte)

Source: ComplexValueBuilder.cs

Adds a property with an SByte value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, sbyte value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value sbyte The SByte value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, sbyte, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with an SByte value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, sbyte value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value sbyte The SByte value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, sbyte)

Source: ComplexValueBuilder.cs

Adds a property with an SByte value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, sbyte value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value sbyte The SByte value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, byte)

Source: ComplexValueBuilder.cs

Adds a property with a Byte value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, byte value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value byte The Byte value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, byte, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a Byte value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, byte value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value byte The Byte value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, byte)

Source: ComplexValueBuilder.cs

Adds a property with a Byte value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, byte value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value byte The Byte value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, int)

Source: ComplexValueBuilder.cs

Adds a property with an Int32 value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, int value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value int The Int32 value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, int, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with an Int32 value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, int value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value int The Int32 value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, int)

Source: ComplexValueBuilder.cs

Adds a property with an Int32 value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, int value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value int The Int32 value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, uint)

Source: ComplexValueBuilder.cs

Adds a property with a UInt32 value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, uint value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value uint The UInt32 value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, uint, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a UInt32 value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, uint value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value uint The UInt32 value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, uint)

Source: ComplexValueBuilder.cs

Adds a property with a UInt32 value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, uint value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value uint The UInt32 value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, long)

Source: ComplexValueBuilder.cs

Adds a property with a Int64 value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, long value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value long The Int64 value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, long, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a Int64 value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, long value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value long The Int64 value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, long)

Source: ComplexValueBuilder.cs

Adds a property with a Int64 value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, long value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value long The Int64 value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ulong)

Source: ComplexValueBuilder.cs

Adds a property with a UInt64 value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, ulong value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ulong The UInt64 value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ulong, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a UInt64 value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, ulong value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ulong The UInt64 value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, ulong)

Source: ComplexValueBuilder.cs

Adds a property with a UInt64 value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, ulong value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value ulong The UInt64 value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, short)

Source: ComplexValueBuilder.cs

Adds a property with a Int16 value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, short value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value short The Int16 value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, short, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a Int16 value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, short value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value short The Int16 value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, short)

Source: ComplexValueBuilder.cs

Adds a property with a Int16 value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, short value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value short The Int16 value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ushort)

Source: ComplexValueBuilder.cs

Adds a property with a UInt16 value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, ushort value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ushort The UInt16 value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ushort, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a UInt16 value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, ushort value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ushort The UInt16 value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, ushort)

Source: ComplexValueBuilder.cs

Adds a property with a UInt16 value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, ushort value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value ushort The UInt16 value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, float)

Source: ComplexValueBuilder.cs

Adds a property with a Single value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, float value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value float The Single value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, float, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a Single value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, float value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value float The Single value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, float)

Source: ComplexValueBuilder.cs

Adds a property with a Single value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, float value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value float The Single value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, double)

Source: ComplexValueBuilder.cs

Adds a property with a Double value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, double value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value double The Double value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, double, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a Double value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, double value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value double The Double value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, double)

Source: ComplexValueBuilder.cs

Adds a property with a Double value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, double value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value double The Double value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, decimal)

Source: ComplexValueBuilder.cs

Adds a property with a Decimal value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, decimal value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value decimal The Decimal value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, decimal, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a Decimal value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, decimal value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value decimal The Decimal value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, decimal)

Source: ComplexValueBuilder.cs

Adds a property with a Decimal value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, decimal value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value decimal The Decimal value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref BigInteger)

Source: ComplexValueBuilder.cs

Adds a property with a BigInteger value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, ref BigInteger value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ref BigInteger The BigInteger value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref BigInteger, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a BigInteger value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, ref BigInteger value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ref BigInteger The BigInteger value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, ref BigInteger)

Source: ComplexValueBuilder.cs

Adds a property with a BigInteger value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, ref BigInteger value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value ref BigInteger The BigInteger value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref BigNumber)

Source: ComplexValueBuilder.cs

Adds a property with a BigNumber value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, ref BigNumber value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ref BigNumber The BigNumber value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, ref BigNumber, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a BigNumber value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, ref BigNumber value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value ref BigNumber The BigNumber value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<char>, ref BigNumber)

Source: ComplexValueBuilder.cs

Adds a property with a BigNumber value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, ref BigNumber value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value ref BigNumber The BigNumber value.

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

AddProperty(ReadOnlySpan<byte>, Int128)

Source: ComplexValueBuilder.cs

Adds a property with an Int128 value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, Int128 value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value Int128 The Int128 value.

Applies To

Product Versions
.NET 9, 10

AddProperty(ReadOnlySpan<byte>, Int128, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with an Int128 value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, Int128 value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value Int128 The Int128 value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10

AddProperty(ReadOnlySpan<char>, Int128)

Source: ComplexValueBuilder.cs

Adds a property with an Int128 value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, Int128 value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value Int128 The Int128 value.

Applies To

Product Versions
.NET 9, 10

AddProperty(ReadOnlySpan<byte>, UInt128)

Source: ComplexValueBuilder.cs

Adds a property with a UInt128 value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, UInt128 value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value UInt128 The UInt128 value.

Applies To

Product Versions
.NET 9, 10

AddProperty(ReadOnlySpan<byte>, UInt128, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a UInt128 value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, UInt128 value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value UInt128 The UInt128 value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10

AddProperty(ReadOnlySpan<char>, UInt128)

Source: ComplexValueBuilder.cs

Adds a property with a UInt128 value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, UInt128 value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value UInt128 The UInt128 value.

Applies To

Product Versions
.NET 9, 10

AddProperty(ReadOnlySpan<byte>, Half)

Source: ComplexValueBuilder.cs

Adds a property with a Half value to the current object.

public void AddProperty(ReadOnlySpan<byte> propertyName, Half value)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value Half The Half value.

Applies To

Product Versions
.NET 9, 10

AddProperty(ReadOnlySpan<byte>, Half, bool, bool)

Source: ComplexValueBuilder.cs

Adds a property with a Half value to the current object, with control over escaping.

public void AddProperty(ReadOnlySpan<byte> propertyName, Half value, bool escapeName, bool nameRequiresUnescaping)

Parameters

Name Type Description
propertyName ReadOnlySpan<byte> The property name as a UTF-8 byte span.
value Half The Half value.
escapeName bool Whether to escape the property name.
nameRequiresUnescaping bool Whether the property name requires unescaping.

Applies To

Product Versions
.NET 9, 10

AddProperty(ReadOnlySpan<char>, Half)

Source: ComplexValueBuilder.cs

Adds a property with a Half value to the current object.

public void AddProperty(ReadOnlySpan<char> propertyName, Half value)

Parameters

Name Type Description
propertyName ReadOnlySpan<char> The property name as a character span.
value Half The Half value.

Applies To

Product Versions
.NET 9, 10

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue