logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class RecipeShippedViews

    Every view Serenity ships whose options a recipe exports and re-imports — each menu (composite-view menus included) and each modal under the package's media root — with its options, so a test can hold the shipped content itself to the identity contract a recipe relies on.

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

    Methods

    Options()

    Every option of every shipped view, beside the path of the view that owns it.

    Declaration
    public static IEnumerable<(string AssetPath, UiOption Option)> Options()
    Returns
    Type Description
    IEnumerable<(string AssetPath, UiOption Option)>

    Views()

    Every shipped menu and modal, with its options (never null).

    Declaration
    public static IEnumerable<(string AssetPath, UiOption[] Options)> Views()
    Returns
    Type Description
    IEnumerable<(string AssetPath, UiOption[] Options)>
    In this article
    © 2026 Serenity. All Rights Reserved