using System; using System.Collections; using System.Collections.Generic; using FastReport.Utils; namespace FastReport { /// /// Holds the list of objects of type. /// public class ObjectCollection : FRCollectionBase { /// /// Gets or sets the element at the specified index. /// /// Index of an element. /// The element at the specified index. public Base this[int index] { get { return List[index] as Base; } set { List[index] = value; } } /// /// Initializes a new instance of the class with default settings. /// public ObjectCollection() : this(null) { } /// /// Initializes a new instance of the class with specified owner. /// public ObjectCollection(Base owner) : base(owner) { } } }