LaunchBoxContributors
On this page

PluginConnection14.1

Class in Unbroken.LaunchBox.Plugins.Capabilities.Connections

C#
public sealed class PluginConnection
Describes a provider-owned connection execution handle.

Constructors

PluginConnection

C#
public PluginConnection(
    string id,
    string methodId,
    PluginConnectionState state,
    string? displayName = null
)
Creates a current connection descriptor.
id
The non-secret owner-local handle, compared ordinally ignoring case.
methodId
The method that created it.
state
Its current usability.
displayName
An optional non-secret account label.

Properties

  • DisplayNameGets the non-secret account label.
  • IdGets the connection handle; it is not a durable achievement account identity.
  • MethodIdGets its method ID.
  • StateGets current usability.

DisplayName

C#
public string? DisplayName { get; }
Gets the non-secret account label.

Id

C#
public string Id { get; }
Gets the connection handle; it is not a durable achievement account identity.

MethodId

C#
public string MethodId { get; }
Gets its method ID.

State

C#
public PluginConnectionState State { get; }
Gets current usability.