示例#1
0
        private void ReportDependency(RelativePath filePathToDocset, string parentFileDirectoryToDocset)
        {
            var expectedPhysicalPath = EnvironmentContext.FileAbstractLayer.GetExpectedPhysicalPath(filePathToDocset);

            foreach (var physicalPath in expectedPhysicalPath)
            {
                var fallbackFileRelativePath = PathUtility.MakeRelativePath(parentFileDirectoryToDocset, physicalPath);
                InclusionContext.PushDependency((RelativePath)fallbackFileRelativePath);
            }
        }