public OperationDetailsViewModel(FileSystemState fileSystemState, OperationInfo operation) { properties.Clear(); properties.Add(new PropertyValue("Title", operation.Title)); properties.Add(new PropertyValue("Id", operation.Id.ToString())); properties.Add(new PropertyValue("DependencyCount", operation.DependencyCount.ToString())); properties.Add(new PropertyValue("Executable", operation.Command.Executable.ToString())); properties.Add(new PropertyValue("WorkingDirectory", operation.Command.WorkingDirectory.ToString())); properties.Add(new PropertyValue("Arguments", operation.Command.Arguments)); var declaredInputFiles = fileSystemState.GetFilePaths(operation.DeclaredInput); var declaredOutputFiles = fileSystemState.GetFilePaths(operation.DeclaredOutput); var readAccessFiles = fileSystemState.GetFilePaths(operation.ReadAccess); var writeAccessFiles = fileSystemState.GetFilePaths(operation.WriteAccess); properties.Add(new PropertyValue("DeclaredInput", string.Concat(declaredInputFiles))); properties.Add(new PropertyValue("DeclaredOutput", string.Concat(declaredOutputFiles))); properties.Add(new PropertyValue("ReadAccess", string.Concat(readAccessFiles))); properties.Add(new PropertyValue("WriteAccess", string.Concat(writeAccessFiles))); }