コード例 #1
0
        public static IEnumerable <Action <Parameter> > GetAdditionalStructureExtensionDelegateList(LayerType layerType)
        {
            if (!AdditionalStructureExtensionDelegateListMap.ContainsKey(layerType))
            {
                AdditionalStructureExtensionDelegateListMap[layerType] = new List <Action <Parameter> >();
            }

            return(AdditionalStructureExtensionDelegateListMap[layerType]);
        }
コード例 #2
0
        public static void RegisterAdditionalStructureExtensionDelegate(LayerType layerType, IClassStructureExtension classStructureExtension)
        {
            if (!AdditionalStructureExtensionDelegateListMap.ContainsKey(layerType))
            {
                AdditionalStructureExtensionDelegateListMap[layerType] = new List <Action <Parameter> >();
            }

            AdditionalStructureExtensionDelegateListMap[layerType].Add(classStructureExtension.Process);
        }