chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:13:17 +08:00
commit 58ab8315aa
8961 changed files with 5602567 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
namespace Lib.@string.list;
[Guid("4c496e8d-2a83-4493-a7a4-fdad29ef3f7d")]
internal sealed class StringLength : Instance<StringLength>
{
[Output(Guid = "{C2FA7C57-6A0C-4D33-A70D-5130F3D52798}")]
public readonly Slot<int> Length = new();
public StringLength()
{
Length.UpdateAction += Update;
}
private void Update(EvaluationContext context)
{
Length.Value = InputString.GetValue(context).Length;
}
[Input(Guid = "{5794D63A-3EF7-42C5-B726-E814EA9093E3}")]
public readonly InputSlot<string> InputString = new();
}