namespace Lib.@string.list; [Guid("4c496e8d-2a83-4493-a7a4-fdad29ef3f7d")] internal sealed class StringLength : Instance { [Output(Guid = "{C2FA7C57-6A0C-4D33-A70D-5130F3D52798}")] public readonly Slot 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 InputString = new(); }