コード例 #1
0
        /// <summary>
        /// Resolve inheritance chain starting with this class
        /// </summary>
        public void ResolveExtends()
        {
            ClassModel        aClass        = this;
            List <ClassModel> extensionList = new List <ClassModel> {
                this
            };

            while (!aClass.IsVoid())
            {
                aClass = aClass.ResolveExtendedType(extensionList);
            }
        }
コード例 #2
0
        /// <summary>
        /// Resolve inheritance chain starting with this class
        /// </summary>
        public void ResolveExtends()
        {
            ClassModel aClass = this;

            BeginResolveExtend(aClass);
            try
            {
                while (!aClass.IsVoid())
                {
                    aClass = aClass.ResolveExtendedType();
                }
            }
            finally { EndResolveExtend(); }
        }