示例#1
0
        private static void InitPolygonProcessorCollection()
        {
            List <Type> loadedTypes = GCommon.GetAllLoadedTypes();

            for (int i = 0; i < loadedTypes.Count; ++i)
            {
                Type t = loadedTypes[i];
                if (t.GetInterface(PolygonProcessorInterfaceName) != null)
                {
                    PolygonProcessorTypeCollection.Add(t);
                }
            }
        }