src/Microsoft.VisualStudio.ProjectSystem.CSharp.VS/ProjectSystem/VS/Xproj/GlobalJsonRemover.cs
/// <summary>
/// Initializes the <see cref="GlobalJsonRemover"/> if not already initialized. This method assumes that it will be called
/// from the UI thread, and will throw if this isn't true.
/// </summary>
/// <returns>True if the remover was set up for the first time. False otherwise.</returns>
Initializes the  if not already initialized. This method assumes that it will be called
from the UI thread, and will throw if this isn't true.
Initializes the if not already initialized . This method assumes that it will be called from the UI thread and will throw if this isn ' t true .
public virtual bool SetupRemoval(IVsSolution solution, IServiceProvider provider, IFileSystem fileSystem)
            {
                UIThreadHelper.VerifyOnUIThread();
                if (s_remover != null)
                    return false;
                s_remover = new GlobalJsonRemover(provider, fileSystem);
                Verify.HResult(solution.AdviseSolutionEvents(s_remover, out uint cookie));
                s_remover.SolutionCookie = cookie;
                return true;
            }
public virtual bool SetupRemoval ( IVsSolution solution , IServiceProvider provider , IFileSystem fileSystem ) { UIThreadHelper . VerifyOnUIThread ( ) ; if ( s_remover != null ) return false ; s_remover = new GlobalJsonRemover ( provider , fileSystem ) ; Verify . HResult ( solution . AdviseSolutionEvents ( s_remover , out uint cookie ) ) ; s_remover . SolutionCookie = cookie ; return true ; }
Initializes the  if not already initialized.
Initializes the if not already initialized .
True if the remover was set up for the first time. False otherwise.
True if the remover was set up for the first time . False otherwise .
solution
IVsSolution
provider
IServiceProvider
fileSystem
IFileSystem