Esempio n. 1
0
        protected override void Act(IntPtr hwnd, string explorerLocationUrl)
        {
            if (!string.IsNullOrEmpty(explorerLocationUrl))
            {
                string path = new Uri(explorerLocationUrl).LocalPath;

                string status = _repositoryInfoAggregator.GetStatusByPath(path);

                if (!string.IsNullOrEmpty(status))
                {
                    string separator = "  [";
                    WindowHelper.AppendWindowText(hwnd, separator, status + "]");
                }
            }
        }