Example #1
0
        /// <summary>
        /// for all the contained dependencies, sorts and returns them
        /// </summary>
        /// <returns></returns>
        public List <NamedDependencyWithObjectInstance> GetTotalDependencyOrder()
        {
            var castedList = this.Items.Cast <NamedDependency>().ToList();
            List <NamedDependency> list = NamedDependency.Sort(castedList);

            return(list.Cast <NamedDependencyWithObjectInstance>().ToList());
        }