Class SequenceDefinitionRowsGui
Draws CreateSequencePlayerWindow's Sequences-step Definitions list — one foldout row per
SequenceDefinitionRowSeed.DefinitionRow with its Id field and ordered Stages sub-list, plus the "+ Add Definition"
button. Pure presentation over a caller-owned row list, no window state of its own, mirroring
Serenity.Localization.Installation.Settings.Editor.Builder.LocalizationTableSelectionGui's
contract. Extracted from the window to keep that file under the project's file-size ratchet.
Inheritance
SequenceDefinitionRowsGui
Assembly: Serenity.UnitySequencePlayer.Infrastructure.Editor.dll
Syntax
public static class SequenceDefinitionRowsGui
Methods
Declaration
public static void DrawAddButton(List<SequenceDefinitionRowSeed.DefinitionRow> definitions)
Parameters
DrawRows(List<DefinitionRow>)
Declaration
public static void DrawRows(List<SequenceDefinitionRowSeed.DefinitionRow> definitions)
Parameters
ValidateDefinitionIdField(List<DefinitionRow>, int, string)
The per-row Definition Id field's validation rule — mirrors
SequencePlayerCreator's own private ValidateDefinitionIdsWithinBatch exactly
(required, then a case-insensitive duplicate check against every other row), via the shared
Serenity.Global.Infrastructure.Editor.SerenityWizardFieldRules.UniqueWithinRows(System.Int32,System.Collections.Generic.IReadOnlyList{System.String},System.String,System.Func{System.Int32,System.String,System.String}) rule, so this early hint can never disagree
with the window's own full Validate(Input) call.
Declaration
public static string ValidateDefinitionIdField(List<SequenceDefinitionRowSeed.DefinitionRow> definitions, int index, string candidateId)
Parameters
Returns