コード例 #1
0
ファイル: FamilyCollection.cs プロジェクト: lulzzz/Nucleus
        /// <summary>
        /// Extract all Section Families from this collection
        /// </summary>
        /// <returns></returns>
        public SectionFamilyCollection GetSections()
        {
            var result = new SectionFamilyCollection();

            foreach (Family vProp in this)
            {
                if (vProp is SectionFamily)
                {
                    result.Add((SectionFamily)vProp);
                }
            }
            return(result);
        }
コード例 #2
0
 protected override void OnCollectionChanged()
 {
     //Clear cached data:
     _Sections      = null;
     _PanelFamilies = null;
 }