| IModelContainer Interface |
Namespace: FlexRule.Core.Model
public interface IModelContainer : IModelAccess, IEnumerable<IElementModel>, IEnumerable
The IModelContainer type exposes the following members.
| Name | Description | |
|---|---|---|
| Count |
Number of sections
(Inherited from IModelAccess.) |
| Name | Description | |
|---|---|---|
| AddModel(IElementModel) |
Adds a model to default section
| |
| AddModel(String, IElementModel) |
Adds a model to a specific section
| |
| AddModel(String, IEnumerableIElementModel) |
Adds models to a specific section
| |
| AddSection |
Adds a section to container
| |
| ClearSection |
Clears models on a section
| |
| CountModels(Int32) |
Counts elements of a specific section
| |
| CountModels(String) |
Counts elements of a specific section
| |
| Exist |
Checks the existence of a section
| |
| GetElementModels |
Retrieves all the IElementModel regardless of section grouping
(Inherited from IModelAccess.) | |
| GetElementModels(Int32) |
Retrieves all IElementModel by section index
(Inherited from IModelAccess.) | |
| GetElementModels(String) |
Retrieve all IElementModel of package by section name
(Inherited from IModelAccess.) | |
| GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerableIElementModel.) | |
| GetSectionName |
Returns name of section by its index
(Inherited from IModelAccess.) | |
| GetSections |
Find package section list
(Inherited from IModelAccess.) | |
| RemoveAll |
Clears all sections
| |
| RemoveModel |
Remove a specific item from a section
| |
| RemoveSection |
Deletes a section
| |
| Rename |
Renames a section
|
| Name | Description | |
|---|---|---|
| DistinctByIElementModel, TKey | (Defined by LinqExtensions.) | |
| IndexOfIElementModel | (Defined by StringTokenExtensions.) | |
| TakeLastIElementModel |
Takes n last numbers of a source
(Defined by LinqExtensions.) |