Table of Contents

Class TestDBus

Namespace
Gio
Assembly
Gio-2.0.dll
public class TestDBus : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
TestDBus
Implements
Inherited Members

Constructors

TestDBus(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public TestDBus(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

TestDBus(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected TestDBus(CreationData data)

Parameters

data CreationData

TestDBus(TestDBusHandle)

protected TestDBus(TestDBusHandle handle)

Parameters

handle TestDBusHandle

Fields

FlagsPropertyDefinition

public static readonly Property<TestDBusFlags, TestDBus> FlagsPropertyDefinition

Field Value

Property<TestDBusFlags, TestDBus>

Properties

Flags

public TestDBusFlags Flags { get; }

Property Value

TestDBusFlags

Methods

AddServiceDir(string)

public void AddServiceDir(string path)

Parameters

path string

Down()

public void Down()

GetBusAddress()

public string? GetBusAddress()

Returns

string

GetFlags()

public TestDBusFlags GetFlags()

Returns

TestDBusFlags

GetGType()

public static Type GetGType()

Returns

Type

New(TestDBusFlags)

public static TestDBus New(TestDBusFlags flags)

Parameters

flags TestDBusFlags

Returns

TestDBus

NewFromPointer(nint, bool)

Creates a new managed TestDBus instance for a given pointer.

public static TestDBus NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

TestDBus

NewWithProperties(ConstructArgument[])

Creates a new TestDBus and sets the properties specified by the construct arguments.

public static TestDBus NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

TestDBus

Stop()

public void Stop()

Unset()

public static void Unset()

Up()

public void Up()