Пример #1
0
 public bool IsRootedDirectoryPath(string path)
 {
     return(FormInit.IsRootedDirectoryPath(path));
 }
Пример #2
0
        public bool StartInitializeDialog(IWin32Window owner, string dir, GitModuleChangedEventHandler GitModuleChanged)
        {
            Func<bool> action = () =>
            {
                if (dir == null)
                    dir = Module.IsValidGitWorkingDir() ? Module.WorkingDir : string.Empty;
                using (var frm = new FormInit(dir, GitModuleChanged)) frm.ShowDialog(owner);
                return true;
            };

            return DoActionOnRepo(owner, false, true, PreInitialize, PostInitialize, action);
        }
Пример #3
0
 public TestAccessor(FormInit form)
 {
     _form = form;
 }