Table of Contents

Class ScreenConfigurationService

Namespace
Dynamicweb.CoreUI.Data.ScreenConfiguration
Assembly
Dynamicweb.CoreUI.dll
public static class ScreenConfigurationService
Inheritance
ScreenConfigurationService
Inherited Members

Methods

GetModelFields(Type?)

public static IEnumerable<ModelFieldInfo> GetModelFields(Type? modelType)

Parameters

modelType Type

Returns

IEnumerable<ModelFieldInfo>

GetModelFields(Type?, Type?)

public static IEnumerable<ModelFieldInfo> GetModelFields(Type? modelType, Type? screenType)

Parameters

modelType Type
screenType Type

Returns

IEnumerable<ModelFieldInfo>

GetModelFields<TModel>()

public static IEnumerable<ModelFieldInfo> GetModelFields<TModel>()

Returns

IEnumerable<ModelFieldInfo>

Type Parameters

TModel

GetScreenConfiguration(Type)

public static ScreenConfiguration GetScreenConfiguration(Type screenType)

Parameters

screenType Type

Returns

ScreenConfiguration

GetScreenConfiguration(Type, long?)

Builds the screen configuration without applying model-based configuration providers.

public static ScreenConfiguration GetScreenConfiguration(Type screenType, long? presetId)

Parameters

screenType Type

The type of screen to instantiate and configure.

presetId long?

The preset identifier assigned to the screen, or null when none is supplied.

Returns

ScreenConfiguration

The combined configuration for the screen.

GetScreenConfiguration(Type, long?, object?)

Builds the screen configuration, applying model-based configuration providers when a model is supplied.

public static ScreenConfiguration GetScreenConfiguration(Type screenType, long? presetId, object? model)

Parameters

screenType Type

The type of screen to instantiate and configure.

presetId long?

The preset identifier assigned to the screen, or null when none is supplied.

model object

The model supplied to matching configuration providers. A null value skips those providers.

Returns

ScreenConfiguration

The combined configuration for the screen, including applicable model-based restrictions.

GetScreenFields(Type)

public static IEnumerable<ModelFieldInfo> GetScreenFields(Type screenType)

Parameters

screenType Type

Returns

IEnumerable<ModelFieldInfo>
To top