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
constructArgumentsConstructArgument[]
TestDBus(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected TestDBus(CreationData data)
Parameters
dataCreationData
TestDBus(TestDBusHandle)
protected TestDBus(TestDBusHandle handle)
Parameters
handleTestDBusHandle
Fields
FlagsPropertyDefinition
public static readonly Property<TestDBusFlags, TestDBus> FlagsPropertyDefinition
Field Value
Properties
Flags
public TestDBusFlags Flags { get; }
Property Value
Methods
AddServiceDir(string)
public void AddServiceDir(string path)
Parameters
pathstring
Down()
public void Down()
GetBusAddress()
public string? GetBusAddress()
Returns
GetFlags()
public TestDBusFlags GetFlags()
Returns
GetGType()
public static Type GetGType()
Returns
New(TestDBusFlags)
public static TestDBus New(TestDBusFlags flags)
Parameters
flagsTestDBusFlags
Returns
NewFromPointer(nint, bool)
Creates a new managed TestDBus instance for a given pointer.
public static TestDBus NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new TestDBus and sets the properties specified by the construct arguments.
public static TestDBus NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Stop()
public void Stop()
Unset()
public static void Unset()
Up()
public void Up()