Exemple #1
0
        protected void LoadReleatedTypes(MetaData metaData, Type[] types)
        {
            foreach (var type in types)
            {
                if (type.IsAbstract || type.IsInterface)
                {
                }

                if (!type.IsSubclassOf(metaData.Key) && type.GetInterface(metaData.Key.FullName) == null)
                {
                    continue;
                }

                metaData.SubTypes.Add(type);
            }

            metaData.Analysis();
        }