Table of Contents

Class ShadowEdit

Namespace
Dynamicweb.CoreUI.Data.ShadowEditing
Assembly
Dynamicweb.CoreUI.dll
public class ShadowEdit
Inheritance
ShadowEdit
Derived
Inherited Members

Fields

ModelDynamicPropertiesSnapshot

protected Dictionary<ShadowEdit.SnapshotKey, ShadowEdit.SnapshotPropertyInfo> ModelDynamicPropertiesSnapshot

Field Value

Dictionary<ShadowEdit.SnapshotKey, ShadowEdit.SnapshotPropertyInfo>

ModelStandardPropertiesSnapshot

protected Dictionary<ShadowEdit.SnapshotKey, ShadowEdit.SnapshotPropertyInfo> ModelStandardPropertiesSnapshot

Field Value

Dictionary<ShadowEdit.SnapshotKey, ShadowEdit.SnapshotPropertyInfo>

modifications

protected readonly Dictionary<ShadowEdit.SnapshotKey, object?> modifications

Field Value

Dictionary<ShadowEdit.SnapshotKey, object>

Properties

Id

public string Id { get; set; }

Property Value

string

ModelType

public Type? ModelType { get; set; }

Property Value

Type

Modifications

public IEnumerable<KeyValuePair<string, object?>> Modifications { get; }

Property Value

IEnumerable<KeyValuePair<string, object>>

Name

public string Name { get; set; }

Property Value

string

Methods

ApplyModifications(IEnumerable<KeyValuePair<string, object?>>)

public void ApplyModifications(IEnumerable<KeyValuePair<string, object?>> modifications)

Parameters

modifications IEnumerable<KeyValuePair<string, object>>

GetModelDynamicPropertyMap<T>(T)

protected static Dictionary<ShadowEdit.SnapshotKey, ShadowEdit.SnapshotPropertyInfo> GetModelDynamicPropertyMap<T>(T model)

Parameters

model T

Returns

Dictionary<ShadowEdit.SnapshotKey, ShadowEdit.SnapshotPropertyInfo>

Type Parameters

T

GetModelStandardPropertyMap<T>(T)

protected static Dictionary<ShadowEdit.SnapshotKey, ShadowEdit.SnapshotPropertyInfo> GetModelStandardPropertyMap<T>(T model)

Parameters

model T

Returns

Dictionary<ShadowEdit.SnapshotKey, ShadowEdit.SnapshotPropertyInfo>

Type Parameters

T

GetModificationType(string)

public Type? GetModificationType(string propertyName)

Parameters

propertyName string

Returns

Type
To top