Пример #1
0
        public static BaseCoreContext CreateAndInitBaseCoreContext(BaseCoreSettings settings)
        {
            var context = new BaseCoreContext(settings.Logger);

            BaseInitBaseCoreContext(context, settings);

            return(context);
        }
        public LogicQueryParseAndCache(WorldSettings settings, IWorldCoreContext coreContext)
            : base(coreContext)
        {
            var settingsOfContext = new BaseCoreSettings();

            settingsOfContext.Logger = coreContext.Logger;

            settingsOfContext.DateTimeProvider = coreContext.DateTimeProvider;

            _context = EngineContextHelper.CreateAndInitBaseCoreContext(settingsOfContext);

            _parser = new Parser(_context);
        }
Пример #3
0
 private static void BaseInitBaseCoreContext(BaseCoreContext context, BaseCoreSettings settings)
 {
 }