public readonly record struct DBusSignature : IEquatable<DBusSignature> A D-Bus type signature, such as s, a{sv} or (ii); empty for no values.
Constructors
DBusSignature
public DBusSignature(string value) Creates a signature after checking its syntax.
Exceptions
ArgumentExceptionvalueis not a valid signature.
Properties
IsSingleCompleteType
public bool IsSingleCompleteType { get; } Whether the signature describes exactly one complete type, as a value's signature does.
Value
public string Value { get; } The signature as text. The default value is empty.
Methods
Equals
public bool Equals(DBusSignature other) Compares two signatures by DBusSignature.Value, so the default value equals the empty signature.
Operators
implicit operator DBusSignature
public static implicit operator DBusSignature(string value)