/// <summary>
 /// Initialises a new instance of the <see cref="PullController"/> class.
 /// </summary>
 /// <param name="gitService">The instance used to operate git.</param>
 /// <param name="directory">The repository's directory.</param>
 /// <param name="name">The repository's name.</param>
 /// <param name="dependencies">The name of repositories this repository is dependant upon.</param>
 public NuGetController(NuGetService nugetService, string directory, string name, string[] dependencies)
     : base(new NuGetHash(name), dependencies)
 {
     NugetService = nugetService;
     Directory    = directory;
     Name         = name;
 }
        private void MainForm_Load(object sender, EventArgs e)
        {
            var msBuildPath    = ConfigurationManager.AppSettings["MsBuildPath"];
            var msBuildTimeOut = TimeSpan.Parse(ConfigurationManager.AppSettings["MsBuildTimeOut"]);

            _configuration = LoadConfigration();
            _gitService    = new GitService();
            _nugetService  = new NuGetService();
            _buildService  = new BuildService(msBuildPath, msBuildTimeOut);
            CreateControllers();
            LinkDependencies();
            CountDependents();
            CreateControls();
        }