Skip to content

1602f533 6779 8fab d93a b17fbbec4147

Fernando Garcia edited this page May 8, 2018 · 1 revision

BaseComplexModelCollection(TItem, TParent, TSearch) Class

Additional header content

A Specialization of BaseSimpleModelCollection(TItem, TParent) class.
. Which acts as the base class for nodes of model which are of collection type

Inheritance Hierarchy

System.Object
  iTin.Export.Model.BaseModel(BaseSimpleModelCollection(TItem, TParent))
    iTin.Export.Model.BaseSimpleModelCollection(TItem, TParent)
      iTin.Export.Model.BaseComplexModelCollection(TItem, TParent, TSearch)
        More... Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

[SerializableAttribute]
public abstract class BaseComplexModelCollection<TItem, TParent, TSearch> : BaseSimpleModelCollection<TItem, TParent>

VB

<SerializableAttribute>
Public MustInherit Class BaseComplexModelCollection(Of TItem, TParent, TSearch)
	Inherits BaseSimpleModelCollection(Of TItem, TParent)

Type Parameters

 

TItem
The type of elements in the list.
TParent
The owner type of list.
TSearch
The type of search element.
  The BaseComplexModelCollection(TItem, TParent, TSearch) type exposes the following members.

Constructors

 

Name Description
Protected method BaseComplexModelCollection(TItem, TParent, TSearch) Initializes a new instance of the BaseComplexModelCollection(TItem, TParent, TSearch) class.
  Back to Top

Properties

 

Name Description
Public property Count Gets the number of elements contained in the BaseSimpleModelCollection(TItem, TParent). (Inherited from BaseSimpleModelCollection(TItem, TParent).)
Public property IsDefault When overridden in a derived class, gets a value indicating whether this instance contains the default. (Inherited from BaseSimpleModelCollection(TItem, TParent).)
Public property IsReadOnly Gets a value indicating whether the BaseSimpleModelCollection(TItem, TParent) is read-only. (Inherited from BaseSimpleModelCollection(TItem, TParent).)
Public property Item(TSearch) Gets or sets the element specified by value.
Public property Item(Int32) Gets or sets the element at the specified index. (Inherited from BaseSimpleModelCollection(TItem, TParent).)
Protected property List Gets a reference to the inner list. (Inherited from BaseSimpleModelCollection(TItem, TParent).)
Public property Parent Gets a reference to the owner of the collection (Inherited from BaseSimpleModelCollection(TItem, TParent).)
Public property Properties Gets or sets a reference to user-defined property list for this element. (Inherited from BaseModel(T).)
  Back to Top

Methods

 

Name Description
Public method Add Adds an object to the end of the BaseSimpleModelCollection(TItem, TParent). (Inherited from BaseSimpleModelCollection(TItem, TParent).)
Public method Clear Removes all elements from the BaseSimpleModelCollection(TItem, TParent). (Inherited from BaseSimpleModelCollection(TItem, TParent).)
Public method Contains(TSearch) Determines whether an element is in the BaseComplexModelCollection(TItem, TParent, TSearch).
Public method Contains(TItem) Determines whether an element is in the BaseSimpleModelCollection(TItem, TParent). (Inherited from BaseSimpleModelCollection(TItem, TParent).)
Public method CopyTo Copies the entire BaseSimpleModelCollection(TItem, TParent) to a compatible one-dimensional array, starting at the specified index of the target array. (Inherited from BaseSimpleModelCollection(TItem, TParent).)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method Find Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire BaseSimpleModelCollection(TItem, TParent). (Inherited from BaseSimpleModelCollection(TItem, TParent).)
Public method GetBy Returns the element specified.
Public method GetEnumerator Returns an enumerator that iterates through the BaseSimpleModelCollection(TItem, TParent). (Inherited from BaseSimpleModelCollection(TItem, TParent).)
Public method GetHashCode (Inherited from Object.)
Protected method GetStaticBindingValue Gets the static binding value by reflection. (Inherited from BaseModel(T).)
Public method GetType (Inherited from Object.)
Public method IndexOf Searches for the specified object and returns the zero-based index of the first occurrence within the entire BaseSimpleModelCollection(TItem, TParent). (Inherited from BaseSimpleModelCollection(TItem, TParent).)
Public method Insert Inserts an item to the BaseSimpleModelCollection(TItem, TParent) at the specified index. (Inherited from BaseSimpleModelCollection(TItem, TParent).)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove Removes the first occurrence of a specific object from the BaseSimpleModelCollection(TItem, TParent). (Inherited from BaseSimpleModelCollection(TItem, TParent).)
Public method RemoveAt Removes the element at the specified index of the BaseSimpleModelCollection(TItem, TParent). (Inherited from BaseSimpleModelCollection(TItem, TParent).)
Public method SaveToFile(String) Saves to file. (Inherited from BaseModel(T).)
Public method SaveToFile(String, Exception) Serializes current BaseModel object into file (Inherited from BaseModel(T).)
Public method Serialize Serializes current BaseModel object into an Xml document. (Inherited from BaseModel(T).)
Protected method SetOwner Sets this collection as the owner of the specified item. (Inherited from BaseSimpleModelCollection(TItem, TParent).)
Public method ToString Returns a string that represents the current object. (Inherited from BaseModel(T).)
  Back to Top

Remarks

The following table shows the different nodes of model which are of collection type.  

Class Description
HostsModel
ImagesModel
BlockLinesModel
FixedModel
ColumnHeadersModel
FieldsModel
GroupsModel
StylesModel
LinesModel
BordersModel
ChartPlotsModel
ServerCredentialsModel
PiecesModel

See Also

Reference

iTin.Export.Model Namespace

Inheritance HierarchySystem.Object
  iTin.Export.Model.BaseModel(BaseSimpleModelCollection(TItem, TParent))
    iTin.Export.Model.BaseSimpleModelCollection(TItem, TParent)
      iTin.Export.Model.BaseComplexModelCollection(TItem, TParent, TSearch)
        iTin.Export.Model.BlockLinesModel
        iTin.Export.Model.BordersModel
        iTin.Export.Model.ChartPlotsModel
        iTin.Export.Model.ColumnHeadersModel
        iTin.Export.Model.ConditionsModel
        iTin.Export.Model.FieldsModel
        iTin.Export.Model.FixedModel
        iTin.Export.Model.GroupsModel
        iTin.Export.Model.HostsModel
        iTin.Export.Model.ImagesModel
        iTin.Export.Model.LinesModel
        iTin.Export.Model.PiecesModel
        iTin.Export.Model.ServerCredentialsModel
        iTin.Export.Model.StylesModel

Clone this wiki locally