AutoMerge.BranchesViewModel.GetPendingChanges C# (CSharp) Méthode

GetPendingChanges() private static méthode

private static GetPendingChanges ( string target, Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace ) : List
target string
workspace Microsoft.TeamFoundation.VersionControl.Client.Workspace
Résultat List
        private static List<PendingChange> GetPendingChanges(string target, Workspace workspace)
        {
            var allPendingChanges = workspace.GetPendingChangesEnumerable(target, RecursionType.Full);
            var targetPendingChanges = allPendingChanges
                .Where(p => p.IsMerge && p.ServerItem.Contains(target))
                .ToList();
            return targetPendingChanges;
        }