Ejemplo n.º 1
0
        public AssemblyCommand(AssemblyCommandLoader loader, JSConsole console)
        {
            Trace.Assert(loader != null);
              Trace.Assert(console != null);

              this.loader = loader;
              this.console = console;
        }
Ejemplo n.º 2
0
        public JishInterpreter(IEngine engine, JSConsole console, LoadedAssembliesBucket loadedAssemblies, EmbeddedResourcesUtils embeddedResourceLoader, AssemblyCommandLoader assemblyCommandsLoader, ICurrentContextAssemblies currentContextAssemblies)
        {
            Trace.Assert(engine != null);
              Trace.Assert(console != null);
              Trace.Assert(loadedAssemblies != null);
              Trace.Assert(embeddedResourceLoader != null);
              Trace.Assert(assemblyCommandsLoader != null);
              Trace.Assert(currentContextAssemblies != null);

              this.engine = engine;
              this.currentContextAssemblies = currentContextAssemblies;
              this.assemblyCommandsLoader = assemblyCommandsLoader;
              this.embeddedResourceLoader = embeddedResourceLoader;
              this.loadedAssemblies = loadedAssemblies;
              this.console = console;
        }