Table of Contents

Struct ObjectPath

Namespace
Tmds.DBus.Protocol
Assembly
Tmds.DBus.Protocol.dll

Represents a D-Bus object path.

public readonly struct ObjectPath
Inherited Members

Remarks

Only validates that the path is not empty. No validation is performed on the object path format.

Constructors

ObjectPath(string)

Initializes a new instance of the ObjectPath struct.

public ObjectPath(string value)

Parameters

value string

The object path.

Remarks

Only validates that the path is not empty. No validation is performed on the object path format.

Methods

ToString()

Returns the string representation of the object path.

public override string ToString()

Returns

string

Operators

implicit operator ObjectPath(string)

Implicitly converts a string to an ObjectPath.

public static implicit operator ObjectPath(string value)

Parameters

value string

Returns

ObjectPath

Remarks

Only validates that the path is not empty. No validation is performed on the object path format.

implicit operator string(ObjectPath)

Implicitly converts an ObjectPath to a string.

public static implicit operator string(ObjectPath value)

Parameters

value ObjectPath

Returns

string