src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/Tree/Dependencies/GraphNodes/ViewProviders/ProjectGraphViewProvider.cs
/// <summary>
/// Returns true if the updated dependency's path matches the updated snapshot's project path,
/// meaning the project dependency has changed and we want to try and update.
/// </summary>
Returns true if the updated dependency's path matches the updated snapshot's project path,
meaning the project dependency has changed and we want to try and update.
Returns true if the updated dependency ' s path matches the updated snapshot ' s project path meaning the project dependency has changed and we want to try and update .
public override bool ShouldApplyChanges(string nodeProjectPath, string updatedSnapshotProjectPath, IDependency updatedDependency)
        {
            string dependencyProjectPath = updatedDependency.FullPath;
            return !string.IsNullOrEmpty(dependencyProjectPath)
                    && dependencyProjectPath.Equals(updatedSnapshotProjectPath, StringComparisons.Paths);
        }
public override bool ShouldApplyChanges ( string nodeProjectPath , string updatedSnapshotProjectPath , IDependency updatedDependency ) { string dependencyProjectPath = updatedDependency . FullPath ; return ! string . IsNullOrEmpty ( dependencyProjectPath ) && dependencyProjectPath . Equals ( updatedSnapshotProjectPath , StringComparisons . Paths ) ; }
Returns true if the updated dependency's path matches the updated snapshot's project path,
meaning the project dependency has changed and we want to try and update.
Returns true if the updated dependency ' s path matches the updated snapshot ' s project path meaning the project dependency has changed and we want to try and update .
nodeProjectPath
string
updatedSnapshotProjectPath
string
updatedDependency
IDependency