A Swiss Army knife for developers.
C# blazorcross-platformcsharpdesktopdesktop-appdesktop-applicationdeveloper-toolsextensiblefluentfluent-designlinuxmacosmicasyntax-highlightingtypescriptwindowswindows-10windows-11winui
using CommunityToolkit.Mvvm.Messaging.Messages;
using DevToys.Core.Tools;
namespace DevToys.Core.Models;
public sealed class ChangeSelectedMenuItemMessage : ValueChangedMessage<GuiToolInstance>
{
public ChangeSelectedMenuItemMessage(GuiToolInstance tool)
: base(tool)
{
Guard.IsNotNull(tool);
SmartDetectionInfo = null;
}
public ChangeSelectedMenuItemMessage(SmartDetectedTool smartDetectionInfo)
: base(smartDetectionInfo.ToolInstance)
{
Guard.IsNotNull(smartDetectionInfo);
SmartDetectionInfo = smartDetectionInfo;
}
public SmartDetectedTool? SmartDetectionInfo { get; }
}