Beispiel #1
0
        public CustomLoader(JavaScriptContext context, ScriptDispatcher dispatcher, ResourceScriptFactory resourceScriptFactory, IResourceManager resourceManager)
        {
            _context               = context;
            _dispatcher            = dispatcher;
            _resourceScriptFactory = resourceScriptFactory;
            _resourceManager       = resourceManager;

            // Store the callbacks as delegate to avoid that they are moved around
            LoadModule   = LoadModuleImpl;
            ModuleLoaded = ModuleLoadedImpl;
        }