1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-06 08:15:59 +02:00

Added more 'alt' lookups

This commit is contained in:
Brian Fiete 2020-06-19 06:41:50 -07:00
parent 407c742bf9
commit 82a108714d
5 changed files with 194 additions and 30 deletions

View file

@ -533,7 +533,7 @@ namespace IDE
{
DepInfo depInfo;
String outKey;
if (!mWatchedFiles.TryGetValue(fixedFilePath, out outKey, out depInfo))
if (!mWatchedFiles.TryGet(fixedFilePath, out outKey, out depInfo))
return;
depInfo.mDependentObjects.Remove(dependentObject);
@ -545,7 +545,7 @@ namespace IDE
Path.GetDirectoryPath(fixedFilePath, directoryName);
WatcherEntry watcherEntry = null;
String key;
mWatchers.TryGetValue(directoryName, out key, out watcherEntry);
mWatchers.TryGet(directoryName, out key, out watcherEntry);
DerefWatcherEntry(watcherEntry);

View file

@ -766,7 +766,7 @@ namespace IDE
}
}
if (mProjectNameMap.TryGetWith(projectName, var matchKey, var value))
if (mProjectNameMap.TryGetAlt(projectName, var matchKey, var value))
{
return value;
}

View file

@ -213,7 +213,7 @@ namespace IDE.ui
{
var fixedPath = scope String(path);
IDEUtils.MakeComparableFilePath(fixedPath);
if (sTimeCache.TryGetValue(fixedPath, var key, var value))
if (sTimeCache.TryGet(fixedPath, var key, var value))
{
value.mCheckedTime = default;
}