LaunchBoxContributors
On this page

PluginResponse13.13

Class in Unbroken.LaunchBox.Plugins

C#
public class PluginResponse
Response class used to give feedback on plugin functionality

Constructors

PluginResponse Changed 13.27

C#
public PluginResponse(bool success, string? message = null)
Initializes the operation outcome.
success
Whether the operation succeeded.
message 13.27
Optional context or an error message for the user.

Properties

  • MessageChanged 13.27Message that will be potentially be displayed to the user to provide context to the success or failure of the requested action
  • WasSuccessWas the task successful?

Message Changed 13.27

C#
public string? Message { get; }
Message that will be potentially be displayed to the user to provide context to the success or failure of the requested action

WasSuccess

C#
public bool WasSuccess { get; }
Was the task successful?