Table of Contents

Class PolymorphismKoi

Namespace
ToSic.Sxc.Render.Polymorphism.Sys
Assembly
ToSic.Sxc.Web.dll

Polymorphism resolver for CSS frameworks with Koi.

[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class PolymorphismKoi : IPolymorphismResolver
Inheritance
object
PolymorphismKoi
Implements

Constructors

PolymorphismKoi(ICss)

Polymorphism resolver for CSS frameworks with Koi.

public PolymorphismKoi(ICss pageCss)

Parameters

pageCss ICss

Fields

ResolverNameId

public static string ResolverNameId

Field Value

string

Methods

Edition(PolymorphismConfigurationModel, string?, ILog)

Returns the edition to use for a given polymorphism configuration, or null if no edition is found

public string? Edition(PolymorphismConfigurationModel config, string? overrule, ILog log)

Parameters

config PolymorphismConfigurationModel

Polymorphism configuration.

overrule string

Optional overrule value; may not be respected, in case the resolver determines insufficient permissions to overrule.

log ILog

Logger is included, so that the services can be super-slim.

Returns

string

The edition to use, or null if no edition is found