Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion src/Tmds.DBus.Protocol/DBusConnectionOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,22 @@ protected internal DBusConnectionOptions()
}

/// <summary>
/// Gets or sets a whether to automatically connect when the connection is first used.
/// Gets or sets whether to automatically connect when the connection is used.
/// </summary>
/// <remarks>
/// <para>Auto-connect connections establish a connection when used rather than requiring an explicit call to <see cref="DBusConnection.ConnectAsync"/>. A new connection is established each time the connection is used after a disconnect. This setting is useful for proxy (consumer) use-cases such as calling methods, watching signals, and monitoring property changes. For exposing services (handler side), use an explicit connection.</para>
/// <para>The following members are not supported on auto-connect connections and will throw <see cref="InvalidOperationException"/>:</para>
/// <list type="bullet">
/// <item><description><see cref="DBusConnection.UniqueName"/></description></item>
/// <item><description><see cref="DBusConnection.TrySendMessage(MessageBuffer)"/></description></item>
/// <item><description><see cref="DBusConnection.DisconnectedAsync"/></description></item>
/// <item><description><see cref="DBusConnection.RequestNameAsync(string, RequestNameOptions)"/></description></item>
/// <item><description><see cref="DBusConnection.TryRequestNameAsync(string, RequestNameOptions, Action{string, object?}?, object?, bool)"/></description></item>
/// <item><description><see cref="DBusConnection.QueueNameRequestAsync(string, RequestNameOptions)"/></description></item>
/// <item><description><see cref="DBusConnection.ReleaseNameAsync(string)"/></description></item>
/// </list>
/// <para>Signal and property watches (added via <c>AddMatchAsync</c>, <c>WatchSignalAsync</c>, or <c>WatchPropertiesChangedAsync</c>) are not re-established after a reconnect. When the connection drops, existing observers receive a completion notification and are disposed. New watches must be set up after reconnecting.</para>
/// </remarks>
public bool AutoConnect { get; set; }

internal bool IsShared { get; set; }
Expand Down
175 changes: 0 additions & 175 deletions src/docfx/example.md

This file was deleted.

133 changes: 0 additions & 133 deletions src/docfx/generator.md

This file was deleted.

Loading
Loading