Пример #1
0
        public ControlTemplateConfiguration GetTemplateConfiguration(string templateKey)
        {
            ControlTemplateConfiguration resultHTML = null;

            resultHTML = ControlPropertyConfigurationCache.GetTemplateConfiguration(templateKey);
            return(resultHTML);
        }
        public static void SetTemplateConfiguration(string templateKey, ControlTemplateConfiguration configuration)
        {
            ControlTemplateConfiguration templateConfiguration;

            _templateConfigurationList.TryGetValue(templateKey, out templateConfiguration);
            if (configuration != null && templateConfiguration == null)
            {
                _templateConfigurationList.Add(templateKey, configuration);
            }
        }
 public static void SetTemplateConfiguration(string templateKey, ControlTemplateConfiguration configuration)
 {
     ControlTemplateConfiguration templateConfiguration;
     _templateConfigurationList.TryGetValue(templateKey, out templateConfiguration);
     if (configuration != null && templateConfiguration == null)
     {
         _templateConfigurationList.Add(templateKey, configuration);
     }
 }