C# Class Microsoft.DocAsCode.Metadata.ManagedReference.IncrementalCheck

显示文件 Open project: dotnet/docfx Class Usage Examples

Public Methods

Method Description
AreFilesModified ( IEnumerable files ) : bool
IncrementalCheck ( BuildInfo buildInfo ) : System
IsSingleProjectChanged ( Microsoft.CodeAnalysis.Project project ) : Task

Load all the version this project source code dependent on: 1. project file version; 2. document version; 3. assembly reference version TODO: In which case do project references not in current solution? And save to global storage

Private Methods

Method Description
GetCreatedVersionForFile ( string filePath ) : VersionStamp
GetLastModifiedVersionForFile ( string filePath ) : VersionStamp
IsFileModified ( string file ) : bool

If file does not exists, return **true**?? ==> should have checked exists before calling. If file's last modified time is newer, return true; otherwise, return false

VersionNewer ( VersionStamp thisVersion ) : bool
VersionNewer ( VersionStamp thisVersion, VersionStamp thatVersion ) : bool

Method Details

AreFilesModified() public method

public AreFilesModified ( IEnumerable files ) : bool
files IEnumerable
return bool

IncrementalCheck() public method

public IncrementalCheck ( BuildInfo buildInfo ) : System
buildInfo BuildInfo
return System

IsSingleProjectChanged() public method

Load all the version this project source code dependent on: 1. project file version; 2. document version; 3. assembly reference version TODO: In which case do project references not in current solution? And save to global storage
public IsSingleProjectChanged ( Microsoft.CodeAnalysis.Project project ) : Task
project Microsoft.CodeAnalysis.Project
return Task