private void CheckAllProjectsIfAutoInstallEnabled(PropertyChangedEventArgs <bool> args)
        {
            if (!args.GetNewOrNull())
            {
                return;
            }

            myShellLocks.ExecuteOrQueueReadLockEx(myLifetime, "UnityPluginInstaller.CheckAllProjectsIfAutoInstallEnabled", () => InstallPluginIfRequired(mySolution.GetAllProjects().Where(p => p.IsUnityProject()).ToList()));
        }
Ejemplo n.º 2
0
        private void CheckAllProjectsIfAutoInstallEnabled(PropertyChangedEventArgs <bool> args)
        {
            if (!args.GetNewOrNull())
            {
                return;
            }

            myShellLocks.ReentrancyGuard.ExecuteOrQueueEx("UnityPluginInstaller.CheckAllProjects", () => myShellLocks.ExecuteWithReadLock(CheckAllProjects));
        }