logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class RecipeSignalValidation

    Validation helpers for signal DTOs, used by the menu/modal importers' report passes.

    Inheritance
    object
    RecipeSignalValidation
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.ProjectRecipe.Infrastructure.Editor
    Assembly: Serenity.UnityProjectRecipe.Infrastructure.Editor.dll
    Syntax
    public static class RecipeSignalValidation

    Methods

    WarnUnresolved(SerenityRecipeImportContext, string, string, string, RecipeSignalDto)

    Warns when signal names a type that cannot be resolved. Null/empty is silent.

    Declaration
    public static void WarnUnresolved(SerenityRecipeImportContext context, string section, string id, string ownerDescription, RecipeSignalDto signal)
    Parameters
    Type Name Description
    SerenityRecipeImportContext context
    string section
    string id
    string ownerDescription
    RecipeSignalDto signal

    WarnUnresolved(SerenityRecipeImportContext, string, string, string, RecipeSignalDto[])

    Warns (once per unresolved type) when any signal in signals names a type that cannot be resolved. A resolvable type, an empty/whitespace type, and a null array are all silent.

    Declaration
    public static void WarnUnresolved(SerenityRecipeImportContext context, string section, string id, string ownerDescription, RecipeSignalDto[] signals)
    Parameters
    Type Name Description
    SerenityRecipeImportContext context

    The import context.

    string section

    The recipe section name (for the report).

    string id

    The owning asset id (for the report).

    string ownerDescription

    Human-readable owner, e.g. "onCancel" or "option 'opt_play'".

    RecipeSignalDto[] signals

    The signals to check (may be null).

    In this article
    © 2026 Serenity. All Rights Reserved