DevicePickerOptions
Record in Oadm.Sdk.Client.Controls · Oadm.Sdk.Client.dll
What the picker offers besides single devices (event rules: everything; a plain device list: nothing).
public sealed record DevicePickerOptionsProperties
Section titled “Properties”AllowAll
Section titled “AllowAll”bool AllowAll { get; init; }Offer “All devices”.
AllowTags
Section titled “AllowTags”bool AllowTags { get; init; }Offer the tags of the devices (a tag means every device with it, also devices tagged later).
EventDeviceText
Section titled “EventDeviceText”string? EventDeviceText { get; init; }Offer the device of the event with this text (“The device of the event”, “The same device”); null = not offered.
SingleDevice
Section titled “SingleDevice”bool SingleDevice { get; init; }Exactly one device (“Use configuration from: Device”): checking a device unchecks the one before; Select all and Select none are not offered. Not combined with all devices, tags or the device of the event.
TagNames
Section titled “TagNames”IReadOnlyList<string> TagNames { get; init; }With DevicePickerOptions.AllowTags: tag names offered even when no device has them yet (e.g. the tag definitions of the server), for devices tagged later. The tags of the devices and of the initial choice are always offered.
Methods
Section titled “Methods”static DevicePickerOptions Full(string? eventDeviceText = null, IEnumerable<string>? tagNames = null)Every option: all devices, tags (plus tagNames) and, with eventDeviceText, the device of the event.