Class PolymorphismConfigurationModel
- Namespace
- ToSic.Sxc.Render.Polymorphism.Sys
- Assembly
- ToSic.Sxc.Engines.dll
Model to read an Apps Polymorphism configuration.
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public record PolymorphismConfigurationModel : ModelFromEntityFull, IModelFromEntity, IModelFromData, IModelSetup<IEntity>, IEquatable<ModelFromEntity>, IModelFromEntityBasic, ICanBeEntity, IEquatable<ModelFromEntityFull>, IEquatable<PolymorphismConfigurationModel>
- Inheritance
-
objectPolymorphismConfigurationModel
- Implements
- Inherited Members
- Extension Methods
Properties
Mode
Polymorphism mode, atm
public string Mode { get; }
Property Value
Parameters
Additional parameter behind the resolver type, like cssFramework for the Koi resolver.
public string? Parameters { get; }
Property Value
Resolver
Name of the resolver to use, like koi or permissions.
public string? Resolver { get; }
Property Value
Remarks
It could be any value, if the DI has such as named service registered.
UsersWhoMaySwitch
public List<int> UsersWhoMaySwitch { get; }
Property Value
UsersWhoMaySwitchEditions
public string UsersWhoMaySwitchEditions { get; }