using System; using System.Collections; namespace Netron.GraphLib.IO.NML { /// /// STC of FromTo collection, related to deserailization of connections /// public class FromToCollection : CollectionBase { /// /// integer indexer /// public FromTo this[int index] { get{return (FromTo) this.InnerList[index] ;} } /// /// Adds an item to the collection /// /// a ParentChild object /// public int Add(FromTo ft) { return this.InnerList.Add(ft); } } }