logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ServiceExtensionCreatorWindow

    Step-by-step window for generating a service extension: pick an extension point (a service aggregate, a persistence store, an aggregate repository/gateway, a curated infrastructure factory, or the persistence installer seam), a style, a name, a target folder, wiring, and extras, then create. The window only collects input and renders results; ServiceExtensionCreator does the actual validation and generation work for every ExtensionPointKind.

    The stepped-wizard scaffolding — the titled header and breadcrumb, the body scroll, the footer and its forward-navigation error gate — comes from Serenity.Global.Infrastructure.Editor.SerenityStepWizardWindow`1; this window declares only its own step table and what the primary action does. Every [SerializeField] it still holds survives the domain reload a virtualization rewrite triggers, exactly as before: the base took over only the step cursor and the activity log, both of which it serializes on its own non-generic root.

    Inheritance
    object
    ServiceExtensionCreatorWindow
    Namespace: Serenity.ServiceExtensionCreator.Editor
    Assembly: Serenity.ServiceExtensionCreator.Editor.dll
    Syntax
    public sealed class ServiceExtensionCreatorWindow : SerenityStepWizardWindow<ServiceExtensionCreatorWindow.WizardStep>

    Constructors

    ServiceExtensionCreatorWindow()

    Declaration
    public ServiceExtensionCreatorWindow()

    Properties

    PrimaryButtonLabel

    Declaration
    protected override string PrimaryButtonLabel { get; }
    Property Value
    Type Description
    string

    WindowTitle

    Declaration
    protected override string WindowTitle { get; }
    Property Value
    Type Description
    string

    Methods

    BuildSteps()

    Declaration
    protected override WizardStepDescriptor<ServiceExtensionCreatorWindow.WizardStep>[] BuildSteps()
    Returns
    Type Description
    WizardStepDescriptor<WizardStep>[]

    OnPrimaryAction()

    Reveals the generated script and stops there — the base's fourth finishing shape, Serenity.Global.Infrastructure.Editor.SerenityStepWizardWindow`1.PingCreatedAssetOnly(System.String). None of the other three fits: this wizard has no Done step to land on and no "Create another" restart, and its run ends on the very step it started the write from — so a PingAndGoTo onto that same step would add a body-scroll reset and an end-of-text-editing the old DoCreate never performed.

    Declaration
    protected override void OnPrimaryAction()

    Open()

    Declaration
    public static void Open()
    In this article
    © 2026 Serenity. All Rights Reserved