Пример #1
0
        public Application(ApplicationOptions options)
        {
            _options = options;

            _settings = GetConfigurationObject("settings");
            _data = new DataSpace(this);
            _endpoints = new Endpoints(this);
            _scripts = new ScriptManager(this);
        }
Пример #2
0
 public ApiHandler(Endpoints endpoints)
 {
     _endpoints = endpoints;
 }