BridgeDataSubscriptionMember class

Namespace Runic.Application.Views · Runic.Application 0.7.0-preview.5

public sealed class BridgeDataSubscriptionMember

Describes one observable member of a bridged data graph. Created by generated bridges.

Constructors

BridgeDataSubscriptionMember

public BridgeDataSubscriptionMember(string name, Func<object, object?> read, IReadOnlyList<BridgeDataSubscriptionMember>? children = null, Func<object, IEnumerable?>? enumerateChildren = null, string? propertyName = null, Func<object, IEnumerable<BridgeValidationChild>>? enumerateValidationChildren = null, bool isPathTransparent = false)

Describes a member and, optionally, its observable children.

Parameters

name

The member's wire name.

read

Reads the member value from its owner.

children

Members of the value's own data type.

enumerateChildren

Enumerates collection elements that have generated data metadata.

propertyName

The .NET property name, when it differs from name.

enumerateValidationChildren

Enumerates children whose validation errors are reported.

isPathTransparent

Whether the member adds no segment to validation paths.