/// <summary> /// Creates a new <see cref="DependencyVisitorAlgorithm"/> /// </summary> public DependencyVisitorAlgorithm() { _factory = DependencyInjection.Resolve <IGitDependFileFactory>(); _git = DependencyInjection.Resolve <IGit>(); _fileSystem = DependencyInjection.Resolve <IFileSystem>(); _console = DependencyInjection.Resolve <IConsole>(); }
/// <summary> /// Creates a new <see cref="InitCommand"/> /// </summary> /// <param name="options">The <see cref="InitSubOptions"/> that configures the command.</param> public InitCommand(InitSubOptions options) { _options = options; _fileSystem = DependencyInjection.Resolve <IFileSystem>(); _console = DependencyInjection.Resolve <IConsole>(); _factory = DependencyInjection.Resolve <IGitDependFileFactory>(); }
/// <summary> /// Creates a new <see cref="BuildAndUpdateDependenciesVisitor"/> /// </summary> public BuildAndUpdateDependenciesVisitor() { _factory = DependencyInjection.Resolve <IGitDependFileFactory>(); _git = DependencyInjection.Resolve <IGit>(); _nuget = DependencyInjection.Resolve <INuget>(); _processManager = DependencyInjection.Resolve <IProcessManager>(); _fileSystem = DependencyInjection.Resolve <IFileSystem>(); _console = DependencyInjection.Resolve <IConsole>(); }
/// <summary> /// Creates a new <see cref="ShowConfigCommand"/> /// </summary> /// <param name="options">The <see cref="ConfigSubOptions"/> that configures the command.</param> public ShowConfigCommand(ConfigSubOptions options) { _options = options; _console = DependencyInjection.Resolve <IConsole>(); _factory = DependencyInjection.Resolve <IGitDependFileFactory>(); }
/// <summary> /// Creates a new <see cref="ListCommand"/> /// </summary> /// <param name="options">The <see cref="ListSubOptons"/> that configure this command.</param> public ListCommand(ListSubOptons options) { _options = options; _factory = DependencyInjection.Resolve <IGitDependFileFactory>(); _console = DependencyInjection.Resolve <IConsole>(); }
/// <summary> /// Creates a new <see cref="NamedDependenciesCommand{T}"/> /// </summary> /// <param name="options">The options for the command.</param> public SyncCommand(SyncSubOptions options) : base(options) { _factory = DependencyInjection.Resolve <IGitDependFileFactory>(); _git = DependencyInjection.Resolve <IGit>(); _fileSystem = DependencyInjection.Resolve <IFileSystem>(); }