예제 #1
0
        internal static MagickWebSettings CreateInstance(ISectionLoader sectionLoader)
        {
            MagickWebSettings section = sectionLoader.GetSection("magick.net.web");

            if (section == null)
            {
                throw new ConfigurationErrorsException("Unable to find section magick.net.web");
            }

            return(section);
        }
예제 #2
0
 public void RegisterLoader(ISectionLoader sectionLoader)
 {
     loaders.Add(sectionLoader);
 }