A small record type used by the Razor designer wiring code. It represents a lifecycle symbol with a Hook enum value and a readonly list of Actions as the body.
using System.Collections.Generic;
namespace Grains.RazorDesigner.Wiring;
public sealed record LifecycleSymbol : Symbol
{
public LifecycleHook Hook { get; init; }
public IReadOnlyList<Action> Body { get; init; } = System.Array.Empty<Action>();
}