Exemplo n.º 1
0
        public SchemeServiceHandler(ISchemeLocator locator)
        {
            _locator = locator;

            if (_directory == null)
            {
                _directory = CalcDirectory();
            }

            if (locator == null)
            {
                throw new ArgumentNullException(nameof(locator),
                                                $"Ошибка при загрузки схем из директории {_directory}.");
            }

            _dict = new Dictionary <string, TSchemeImpl>();
        }
Exemplo n.º 2
0
 public SchemeServiceHandler(ISchemeLocator locator, string directory) : this(locator)
 {
     _directory = directory;
 }
 public StrictSchemeServiceHandlerFactory(ISchemeLocator schemeLocator)
 {
     _schemeLocator = schemeLocator;
 }
 public EditorSchemeServiceHandlerFactory(ISchemeLocator schemeLocator)
 {
     _schemeLocator = schemeLocator;
 }