Table of Contents

Class TypeManager

Namespace
CMS.Core
Assembly
CMS.Core.dll

Manager for object factories

public static class TypeManager
Inheritance
object
TypeManager

Properties

Initialized

If true, all types were already initialized.

public static bool Initialized { get; }

Property Value

bool

PreInitialized

If true, the types were already pre-initialized

public static bool PreInitialized { get; }

Property Value

bool

Methods

RegisterGenericType(Type)

Registers a generic type.

public static void RegisterGenericType(Type type)

Parameters

type Type

Type to register

Remarks

Registered generic types are used for automatic application state reset within the automated tests.

Use this method in static constructor of a generic type.