SaaS CMS has officially launched! Learn more now.

Class SelectedElementCollection

Represents Selected meta model element collection.

Inheritance
System.Object
SelectedElementCollection
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: Mediachase.BusinessFoundation.Data.Meta.Schema
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 11.8.3
Syntax
public class SelectedElementCollection

Constructors

SelectedElementCollection()

Initializes a new instance of the SelectedElementCollection class.

Declaration
public SelectedElementCollection()

Properties

IsSelectAllMode

Gets a value indicating whether this instance is select all mode.

Declaration
public bool IsSelectAllMode { get; set; }
Property Value
Type Description
System.Boolean

true if this instance is select all mode; otherwise, false.

Items

Declaration
protected List<string> Items { get; }
Property Value
Type Description
System.Collections.Generic.List<System.String>

Methods

Add(MetaModelElement)

Adds the specified element.

Declaration
public void Add(MetaModelElement element)
Parameters
Type Name Description
MetaModelElement element

The element.

AddRange(MetaModelElement[])

Adds the range.

Declaration
public void AddRange(params MetaModelElement[] selectedElements)
Parameters
Type Name Description
MetaModelElement[] selectedElements

The selected elements.

Clear()

Clears this instance.

Declaration
public void Clear()

Contains(MetaModelElement)

Determines whether colection contains the specified container and name.

Declaration
public bool Contains(MetaModelElement element)
Parameters
Type Name Description
MetaModelElement element

The element.

Returns
Type Description
System.Boolean

true if this collection contains the specified element; otherwise, false.

Remove(MetaModelElement)

Removes the specified element.

Declaration
public void Remove(MetaModelElement element)
Parameters
Type Name Description
MetaModelElement element

The element.

RemoveRange(MetaModelElement[])

Removes the range.

Declaration
public void RemoveRange(params MetaModelElement[] selectedElements)
Parameters
Type Name Description
MetaModelElement[] selectedElements

The selected elements.