Click or drag to resize
ModelContainer Class
This container is a place that all the IElementModel will be placed here.
Inheritance Hierarchy

Namespace: FlexRule.Core.Model
Assembly: FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
[SerializableAttribute]
public class ModelContainer : ElementSectionCollection, 
	IModelContainer, IModelAccess, IEnumerable<IElementModel>, IEnumerable

The ModelContainer type exposes the following members.

Constructors
  NameDescription
Public methodModelContainer
Top
Properties
  NameDescription
Public propertyCount
Protected propertyInnerDictionary (Inherited from ElementSectionCollection.)
Protected propertyItem
Returns ElementSection by its name
(Inherited from ElementSectionCollection.)
Protected propertySections
All sections in this collection
(Inherited from ElementSectionCollection.)
Top
Methods
  NameDescription
Protected methodAdd (Inherited from ElementSectionCollection.)
Public methodAddModel(IElementModel)
Public methodAddModel(String, IElementModel)
Public methodAddModel(String, IEnumerableIElementModel)
Public methodAddSection
Protected methodClear (Inherited from ElementSectionCollection.)
Public methodClearSection
Protected methodContains (Inherited from ElementSectionCollection.)
Public methodCountModels(Int32)
Public methodCountModels(String)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExist
Protected methodFillName (Inherited from ElementSectionCollection.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetAllModels (Inherited from ElementSectionCollection.)
Public methodGetElementModels
Public methodGetElementModels(Int32)
Public methodGetElementModels(String)
Public methodGetEnumerator
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetSectionName
Public methodGetSections
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAdded
Will be called after adding an ElementSection
(Inherited from ElementSectionCollection.)
Protected methodOnRemoved
Will be called after removing an ElementSection
(Inherited from ElementSectionCollection.)
Public methodRemoveAll
Public methodRemoveModel
Public methodRemoveSection
Public methodRename
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultSection
Default section name
Top
Extension Methods
See Also