add a scanner, but this seems to be a wrong solution. Change open-source head

This commit is contained in:
Youmu Liu
2026-07-07 18:20:38 +08:00
parent b053567eb7
commit 1705d7c245
276 changed files with 3468 additions and 7205 deletions
@@ -1,3 +1,10 @@
// -----------------------------------------------------------------------------
// file="PanelStateChangeBindingAttribute"
// Project: StgSharp
// Copyright (c) Nitload.
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
@@ -14,11 +21,11 @@ namespace StgSharp.UserInterface
{
public string StatePath { get; } = string.IsNullOrWhiteSpace(statePath) ?
throw new ArgumentException("Value cannot be null or whitespace.", nameof(statePath)) :
throw new ArgumentException("Value cannot be null or whitespace.", nameof(statePath)) :
statePath;
public string PanelHostPath { get; } = string.IsNullOrWhiteSpace(panelHostPath) ?
throw new ArgumentException("Value cannot be null or whitespace.", nameof(panelHostPath)) :
throw new ArgumentException("Value cannot be null or whitespace.", nameof(panelHostPath)) :
panelHostPath;
}
@@ -1,3 +1,10 @@
// -----------------------------------------------------------------------------
// file="PanelStateNodeAttribute"
// Project: StgSharp
// Copyright (c) Nitload.
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
namespace StgSharp.UserInterface
{
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]