mirror of
https://github.com/Stone-Red-Code/DesktopMagic.git
synced 2026-09-04 23:39:29 +02:00
- Add ComboBox element to the API
This commit is contained in:
@@ -19,17 +19,7 @@ namespace DesktopMagicPluginAPI
|
||||
public IPluginData Application
|
||||
{
|
||||
get => application;
|
||||
set
|
||||
{
|
||||
if (application is null)
|
||||
{
|
||||
application = value;
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new InvalidOperationException($"You cannot set the value of the {nameof(Application)} property");
|
||||
}
|
||||
}
|
||||
set => application = application is null ? value : throw new InvalidOperationException($"You cannot set the value of the {nameof(Application)} property");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user