View Source
Class ModelsModeExtensions
Provides extensions for the ModelsMode enumeration.
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public static class ModelsModeExtensions
Methods
View Source
IsAuto(ModelsMode)
Gets a value indicating whether the mode is *Auto.
Declaration
public static bool IsAuto(this ModelsMode modelsMode)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
IsAutoNotInMemory(ModelsMode)
Gets a value indicating whether the mode is *Auto but not InMemory.
Declaration
public static bool IsAutoNotInMemory(this ModelsMode modelsMode)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
SupportsExplicitGeneration(ModelsMode)
Gets a value indicating whether the mode supports explicit manual generation.
Declaration
public static bool SupportsExplicitGeneration(this ModelsMode modelsMode)
Parameters
Returns
Type |
Description |
System.Boolean |
|