public sealed class CheckedPropertyDescriptor<T> Describes one property that accepts acknowledged field writes. Created by generated bridges.
Parameters
nameThe .NET property name.
wireNameThe property name on the wire.
valueKindThe wire value type.
getterReads the property value.
setterWrites the decoded property value.
ReadValueDecodes a
CheckedFieldValueKind.Jsonvalue.WriteValueEncodes a
CheckedFieldValueKind.Jsonvalue.
Constructors
CheckedPropertyDescriptor
public CheckedPropertyDescriptor(string name, string wireName, CheckedFieldValueKind valueKind, Func<T, object?> getter, Action<T, object?> setter, Func<JsonElement, object?>? ReadValue = null, Action<Utf8JsonWriter, object?>? WriteValue = null) Describes one property that accepts acknowledged field writes. Created by generated bridges.
Parameters
nameThe .NET property name.
wireNameThe property name on the wire.
valueKindThe wire value type.
getterReads the property value.
setterWrites the decoded property value.
ReadValueDecodes a
CheckedFieldValueKind.Jsonvalue.WriteValueEncodes a
CheckedFieldValueKind.Jsonvalue.
Properties
Name
public string Name { get; } The .NET property name.
WireName
public string WireName { get; } The property name on the wire.