Inheritance: IAssemblyResolver
Ejemplo n.º 1
0
 public BuilderBase(Panel panel, DefaultJobProperties defaultJobProperties, Controller controller, AssemblyResolver assemblyResolver, DataGridView resultGrid)
 {
     this.panel = panel;
     this.defaultJobProperties = defaultJobProperties;
     this.controller = controller;
     this.assemblyResolver = assemblyResolver;
     this.resultGrid = resultGrid;
 }
Ejemplo n.º 2
0
 public Form1()
 {
     InitializeComponent();
     log = LogManager.GetLogger("log");
     log4net.Config.XmlConfigurator.Configure();
     selectedJob = string.Empty;
     controller = new code.Controller();
     assemblyResolver = new AssemblyResolver(new DirectoryImpl(), log);
 }
 public AddJobBuilder(Panel panel, DefaultJobProperties defaultJobProperties, Controller controller, AssemblyResolver assemblyResolver,DataGridView resultView)
     : base(panel, defaultJobProperties, controller, assemblyResolver, resultView)
 {
 }
Ejemplo n.º 4
0
        public void Initialise(string path)
        {
            log = LogManager.GetLogger("log");
            log4net.Config.XmlConfigurator.Configure();

            var sleepTime = 0;
            assemblyResolver = new AssemblyResolver(new DirectoryImpl(), log);
            var config = new SqlToGraphiteConfig(assemblyResolver, log);
            encryption = new Encryption();
            var reader = new ConfigHttpReader(path, "", "");
            var cache = new Cache(new TimeSpan(0, 0, 1, 0), log);
            var sleep = new Sleeper();
            var genericSerializer = new GenericSerializer(Global.GetNameSpace());
            var configPersister = new ConfigPersister(new ConfigFileWriter(path), genericSerializer);

            repository = new ConfigRepository(reader, cache, sleep, this.log, sleepTime, configPersister, genericSerializer);
        }