Remove all vestiges of the mount process and related actions (mount,
unmount) from the C# code and documentation.
Mount references are left in the Mac notifications app for now so we can
use that code as a reference to add upgrade notifications later, like we
have on Windows.
During the port to .NET Core 3 and the build system update, an #if
directive was left behind which was being used to select the correct
UpgradeOrchestrator for each OS platform. The result was that upgrade
would always fail on all platforms with a 'NotImplementedException'.
Replace the #if directive with a runtime `IsOSPlatform` check.
- Added a few new classes. WinToastNotifier to interface
with Windows Toast APIs. GVFSToastRequestHandler to parse
toast notification payload contained in incoming requests
from GVFS client processes. GVFSServiceUI class to create
ServiceUI pipe and handle toast notification requests. UT
class for GVFSToastRequestHandler.
- Updated project files.
- Minor corrections in Toast XML element class ActionItem.cs.
This will change many files, and likely not build
Here is the script used to do the replacement:
```
NEWNAME="Scalar"
LOWERNAME="scalar"
for file in $(find . -type f -name '*')
do
if [[ $file == *.png ]]
then
continue
fi
if [[ $file == *.ico ]]
then
continue
fi
if [[ $file == *cddl1.txt ]]
then
continue
fi
if [[ $file == *.rc ]]
then
continue
fi
if [[ $file == *index_v4 ]]
then
continue
fi
if [[ $file == ./.git/* ]]
then
continue
fi
sed -i .bak "s/GVFS/$NEWNAME/g" "$file"
sed -i .bak "s/VFS For Git/$NEWNAME/g" "$file"
sed -i .bak "s/VFS for Git/$NEWNAME/g" "$file"
sed -i .bak "s/VFSForGit/$NEWNAME/g" "$file"
sed -i .bak "s/vfsforgit/$LOWERNAME/g" "$file"
sed -i .bak "s/VFS/$NEWNAME/g" "$file"
sed -i .bak "s/gvfs/$LOWERNAME/g" "$file"
done
git commit -a -s -m "[REPLACE] Replace old name in all files" -m "This will change many files, and likely not build"
git clean -xdf
```
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>