public ExpandableBuilderViewModel(IApplicationLogger logger, ITemplateManager templateManager) : base(logger, templateManager) { Title = "Expandable Builder"; EnvironmentVariables.AddRange(Environment.GetEnvironmentVariables().Keys.OfType <string>()); }
public ProcessDetails(CachedGraph graph, Process process) : base(graph, process) { Executable = new FileRef(graph.Context, process.Executable); Arguments = new PipData(graph.Context, process.Arguments); EnvironmentVariables.AddRange(process.EnvironmentVariables.Select(envVar => new EnvironmentVariable(graph.Context, envVar))); WorkingDirectory = new DirectoryRef(graph.Context, process.WorkingDirectory); UntrackedScopes.AddRange(process.UntrackedScopes.Select(scope => new DirectoryRef(graph.Context, scope))); UntrackedFiles.AddRange(process.UntrackedPaths.Select(path => new FileRef(graph.Context, FileArtifact.CreateSourceFile(path)))); }