Class MenuInstantiationModeTests
Tests for MenuInstantiationMode.
These lock the value contract that keeps PR2 backward-compatible: the default (value 0) must be
PreloadOnStartup so existing serialized menu assets — which
store no value for this field — deserialize to the current eager-construction behavior.
Inherited Members
Namespace: Serenity.Menu.Tests.Domain
Assembly: Tests.dll
Syntax
public class MenuInstantiationModeTests
Constructors
MenuInstantiationModeTests()
Declaration
public MenuInstantiationModeTests()
Methods
Default_IsPreloadOnStartup()
Declaration
public void Default_IsPreloadOnStartup()
LazyOnFirstOpen_IsOne()
Declaration
public void LazyOnFirstOpen_IsOne()
PreloadOnStartup_IsZero_ToPreserveExistingSerializedAssets()
Declaration
public void PreloadOnStartup_IsZero_ToPreserveExistingSerializedAssets()