Table of Contents

Class CodeContentTypesManager

Namespace
ToSic.Eav.Data.Build.Sys
Assembly
ToSic.Eav.Data.Build.dll

Special system to manage and to convert c# classes with their definitions/attributes into content types.

[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class CodeContentTypesManager : ServiceBase, IHasLog
Inheritance
object
CodeContentTypesManager
Implements
Inherited Members

Fields

NoAppId

public const int NoAppId = -1

Field Value

int

Methods

Get(Type)

Get the ContentType for a given class. If it doesn't exist yet, it will be created and cached.

public IContentType Get(Type type)

Parameters

type Type

Returns

IContentType

Get<T>()

Get the ContentType for a given class. If it doesn't exist yet, it will be created and cached.

public IContentType Get<T>()

Returns

IContentType

Type Parameters

T

IsConfigured(Type)

Pre-flight check if this type has configuration or not.

public bool IsConfigured(Type type)

Parameters

type Type

Returns

bool