GitScc.SccProviderService.SetActive C# (CSharp) Method

SetActive() public method

public SetActive ( ) : int
return int
        public int SetActive()
        {
            Trace.WriteLine(String.Format(CultureInfo.CurrentUICulture, "Git Source Control Provider set active"));
            _active = true;
            GlobalCommandHook hook = GlobalCommandHook.GetInstance(_sccProvider);
            hook.HookCommand(new CommandID(VSConstants.VSStd2K, (int)VSConstants.VSStd2KCmdID.SLNREFRESH), HandleSolutionRefresh);

            ThreadHelper.JoinableTaskFactory.Run(async delegate
            {
                await OpenTracker();
                await RefreshSolution();
            });
            //MarkDirty(false);
            return VSConstants.S_OK;
        }
SccProviderService