SaaS CMS has officially launched! Learn more now.

Class GlobalPropertyMerge

Inheritance
System.Object
GlobalPropertyMerge
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Editor.TinyMCE
Assembly: EPiServer.dll
Version: 7.19.2
Syntax
public class GlobalPropertyMerge

Constructors

GlobalPropertyMerge()

Declaration
public GlobalPropertyMerge()

GlobalPropertyMerge(IDictionary<String, Object>)

Merges and overrides properties

Declaration
public GlobalPropertyMerge(IDictionary<string, object> initOptions)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.Object> initOptions

initial properties

Properties

Merges

Declaration
public ReadOnlyCollection<GlobalPropertyMergeChanges> Merges { get; }
Property Value
Type Description
System.Collections.ObjectModel.ReadOnlyCollection<GlobalPropertyMergeChanges>

Overrides

Declaration
public ReadOnlyCollection<GlobalPropertyMergeChanges> Overrides { get; }
Property Value
Type Description
System.Collections.ObjectModel.ReadOnlyCollection<GlobalPropertyMergeChanges>

Methods

AddProperties(IDictionary<String, Object>)

Add properties to collection

Declaration
public void AddProperties(IDictionary<string, object> properties)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.Object> properties

The properties to add

AddProperties(IDictionary<String, Object>, Boolean)

Add properties to collection

Declaration
public void AddProperties(IDictionary<string, object> properties, bool overrideExisting)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.Object> properties

The properties to add

System.Boolean overrideExisting

True if existing elements (not mergable) will be overriden

AddProperty(String, Object)

Add property to collection

Declaration
public void AddProperty(string propertyName, object propertyValue)
Parameters
Type Name Description
System.String propertyName

The name of the property

System.Object propertyValue

Value of the property

AddProperty(String, Object, Boolean)

Add property to collection

Declaration
public void AddProperty(string propertyName, object propertyValue, bool overrideExisting)
Parameters
Type Name Description
System.String propertyName

The name of the property

System.Object propertyValue

Value of the property

System.Boolean overrideExisting

True if existing elements (not mergable) will be overriden

AddProperty(String, Object, String)

Add property to collection

Declaration
public void AddProperty(string propertyName, object propertyValue, string pluginName)
Parameters
Type Name Description
System.String propertyName

The name of the property

System.Object propertyValue

Value of the property

System.String pluginName

Name of the plugin.

AddProperty(String, Object, String, Boolean)

Add property to collection

Declaration
public void AddProperty(string propertyName, object propertyValue, string pluginName, bool overrideExisting)
Parameters
Type Name Description
System.String propertyName

The name of the property

System.Object propertyValue

Value of the property

System.String pluginName

Name of the plugin.

System.Boolean overrideExisting

True if existing elements (not mergable) will be overriden

GetProperties()

Get the merged and overrided properties

Declaration
public Dictionary<string, object> GetProperties()
Returns
Type Description
System.Collections.Generic.Dictionary<System.String, System.Object>

Events

GlobalPropertyMerges

Declaration
public static event GlobalPropertyMerge.GlobalPropertyEventHandler GlobalPropertyMerges
Event Type
Type Description
GlobalPropertyMerge.GlobalPropertyEventHandler

GlobalPropertyOverrides

Declaration
public static event GlobalPropertyMerge.GlobalPropertyEventHandler GlobalPropertyOverrides
Event Type
Type Description
GlobalPropertyMerge.GlobalPropertyEventHandler

Extension Methods