DBusPropertyChanges class

Namespace Runic.Platform.Linux.DBus in Runic.Platform.Linux.DBus 0.23.0

public sealed class DBusPropertyChanges : IEquatable<DBusPropertyChanges>

Inherits or implements IEquatable.

Properties of one interface that changed, from org.freedesktop.DBus.Properties.PropertiesChanged.

Remarks

DBusProxy.ReadPropertyChanges creates them. Changes compare by content: the same interface, the same changed names with equal values, and the same invalidated names in the same order.

Properties

Changed

public ImmutableDictionary<string, DBusValue> Changed { get; }

The new values, unwrapped from their variants.

Interface

public string Interface { get; }

The interface whose properties changed.

Invalidated

public ImmutableArray<string> Invalidated { get; }

Properties that changed without their new value; read them again if needed.

Methods

Equals

public bool Equals(DBusPropertyChanges? other)

Compares two sets of changes by content.

Equals

public override bool Equals(object? obj)

Inherits documentation from Object.Equals.

GetHashCode

public override int GetHashCode()

Inherits documentation from Object.GetHashCode.

ToString

public override string ToString()

Inherits documentation from Object.ToString.

Operators

operator !=

public static bool operator !=(DBusPropertyChanges? left, DBusPropertyChanges? right)

Compares two sets of changes by content.

operator ==

public static bool operator ==(DBusPropertyChanges? left, DBusPropertyChanges? right)

Compares two sets of changes by content.