mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-12 19:41:37 +00:00
10 lines
559 B
C#
10 lines
559 B
C#
|
|
namespace AIStudio.Tools.Rust;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Result of validating a keyboard shortcut.
|
||
|
|
/// </summary>
|
||
|
|
/// <param name="IsValid">Whether the shortcut syntax is valid.</param>
|
||
|
|
/// <param name="ErrorMessage">Error message if not valid.</param>
|
||
|
|
/// <param name="HasConflict">Whether the shortcut conflicts with another registered shortcut.</param>
|
||
|
|
/// <param name="ConflictDescription">Description of the conflict, if any.</param>
|
||
|
|
public sealed record ShortcutValidationResult(bool IsValid, string ErrorMessage, bool HasConflict, string ConflictDescription);
|