1
0
Fork 0
forked from aly/qstbak
qstbak/Questionable/Questionable.Windows.Setup/PluginsStep.cs
2026-08-17 20:27:25 +10:00

49 lines
1.2 KiB
C#

using System.Runtime.CompilerServices;
using Questionable.Windows.ConfigComponents;
namespace Questionable.Windows.Setup;
internal sealed class PluginsStep : ISetupStep
{
private readonly PluginConfigComponent _pluginConfigComponent;
private bool _allRequiredInstalled;
public string Title
{
[MethodImpl(MethodImplOptions.NoInlining)]
get
{
return global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-1242474630);
}
}
public bool CanAdvance => _allRequiredInstalled;
public PluginsStep(PluginConfigComponent pluginConfigComponent)
{
_pluginConfigComponent = pluginConfigComponent;
}
public bool ShouldShow()
{
return true;
}
bool ISetupStep.ShouldShow()
{
//ILSpy generated this explicit interface implementation from .override directive in ShouldShow
return this.ShouldShow();
}
public void Draw()
{
_pluginConfigComponent.Draw(out _allRequiredInstalled);
}
void ISetupStep.Draw()
{
//ILSpy generated this explicit interface implementation from .override directive in Draw
this.Draw();
}
}