Example #1
0
        internal static void Update(DotNetCoreDebuggerPath path)
        {
            if (path.FileName == FileName)
            {
                return;
            }

            Init(path);

            if (path.IsDefault())
            {
                PropertyService.Set(DotNetCoreDebuggerRuntimeFileNameProperty, null);
            }
            else
            {
                PropertyService.Set(DotNetCoreDebuggerRuntimeFileNameProperty, path.FileName);
            }

            OnChanged();
        }
Example #2
0
 static void Init(DotNetCoreDebuggerPath path)
 {
     IsInstalled = !path.IsMissing;
     FileName    = path.FileName;
 }