Click or drag to resize
IModelContainer Interface
Model Container that stores models and groups them in logical sections

Namespace: FlexRule.Core.Model
Assembly: FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public interface IModelContainer : IModelAccess, 
	IEnumerable<IElementModel>, IEnumerable

The IModelContainer type exposes the following members.

Properties
  NameDescription
Public propertyCount
Number of sections
(Inherited from IModelAccess.)
Top
Methods
  NameDescription
Public methodAddModel(IElementModel)
Adds a model to default section
Public methodAddModel(String, IElementModel)
Adds a model to a specific section
Public methodAddModel(String, IEnumerableIElementModel)
Adds models to a specific section
Public methodAddSection
Adds a section to container
Public methodClearSection
Clears models on a section
Public methodCountModels(Int32)
Counts elements of a specific section
Public methodCountModels(String)
Counts elements of a specific section
Public methodExist
Checks the existence of a section
Public methodGetElementModels
Retrieves all the IElementModel regardless of section grouping
(Inherited from IModelAccess.)
Public methodGetElementModels(Int32)
Retrieves all IElementModel by section index
(Inherited from IModelAccess.)
Public methodGetElementModels(String)
Retrieve all IElementModel of package by section name
(Inherited from IModelAccess.)
Public methodGetSectionName
Returns name of section by its index
(Inherited from IModelAccess.)
Public methodGetSections
Find package section list
(Inherited from IModelAccess.)
Public methodRemoveAll
Clears all sections
Public methodRemoveModel
Remove a specific item from a section
Public methodRemoveSection
Deletes a section
Public methodRename
Renames a section
Top
Extension Methods
See Also