本文整理汇总了C#中GitModuleChangedEventHandler类的典型用法代码示例。如果您正苦于以下问题:C# GitModuleChangedEventHandler类的具体用法?C# GitModuleChangedEventHandler怎么用?C# GitModuleChangedEventHandler使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
GitModuleChangedEventHandler类属于命名空间,在下文中一共展示了GitModuleChangedEventHandler类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: FormSvnClone
public FormSvnClone(GitUICommands aCommands, GitModuleChangedEventHandler GitModuleChanged)
: base(aCommands)
{
this.GitModuleChanged = GitModuleChanged;
InitializeComponent();
this.Translate();
}
示例2: ForkAndCloneForm
public ForkAndCloneForm(IRepositoryHostPlugin gitHoster, GitModuleChangedEventHandler GitModuleChanged)
{
this.GitModuleChanged = GitModuleChanged;
_gitHoster = gitHoster;
InitializeComponent();
Translate();
}
示例3: FormInit
public FormInit(string dir, GitModuleChangedEventHandler GitModuleChanged)
{
this.GitModuleChanged = GitModuleChanged;
InitializeComponent();
Translate();
Directory.Text = dir;
}
示例4: FormClone
public FormClone(GitUICommands aCommands, string url, bool openedFromProtocolHandler, GitModuleChangedEventHandler GitModuleChanged)
: base(aCommands)
{
this.GitModuleChanged = GitModuleChanged;
InitializeComponent();
Translate();
this.openedFromProtocolHandler = openedFromProtocolHandler;
this.url = url;
}
示例5: FormInit
public FormInit(string dir, GitModuleChangedEventHandler GitModuleChanged)
{
this.GitModuleChanged = GitModuleChanged;
InitializeComponent();
Translate();
if (string.IsNullOrEmpty(dir))
{
Directory.Text = AppSettings.DefaultCloneDestinationPath;
}
else
{
Directory.Text = dir;
}
}
示例6: StartCloneForkFromHoster
public void StartCloneForkFromHoster(IWin32Window owner, IRepositoryHostPlugin gitHoster, GitModuleChangedEventHandler GitModuleChanged)
{
WrapRepoHostingCall("View pull requests", gitHoster, gh =>
{
using (var frm = new ForkAndCloneForm(gitHoster, GitModuleChanged)) frm.ShowDialog(owner);
});
}
示例7: StartCloneDialog
public bool StartCloneDialog(IWin32Window owner, string url, GitModuleChangedEventHandler GitModuleChanged)
{
return StartCloneDialog(owner, url, false, GitModuleChanged);
}
示例8: StartSvnCloneDialog
public bool StartSvnCloneDialog(IWin32Window owner, GitModuleChangedEventHandler GitModuleChanged)
{
Func<bool> action = () =>
{
using (var form = new FormSvnClone(this, GitModuleChanged))
form.ShowDialog(owner);
return true;
};
return DoActionOnRepo(owner, false, false, PreSvnClone, PostSvnClone, action);
}
示例9: StartInitializeDialog
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);
}
示例10: StartInitializeDialog
public bool StartInitializeDialog(IWin32Window owner, string dir, GitModuleChangedEventHandler GitModuleChanged)
{
if (!InvokeEvent(owner, PreInitialize))
return true;
using (var frm = new FormInit(dir, GitModuleChanged)) frm.ShowDialog(owner);
InvokeEvent(owner, PostInitialize);
return true;
}
示例11: StartCloneDialog
public bool StartCloneDialog(IWin32Window owner, string url, bool openedFromProtocolHandler, GitModuleChangedEventHandler GitModuleChanged)
{
if (!InvokeEvent(owner, PreClone))
return false;
using (var form = new FormClone(this, url, openedFromProtocolHandler, GitModuleChanged))
form.ShowDialog(owner);
InvokeEvent(owner, PostClone);
return true;
}
示例12: StartSvnCloneDialog
public bool StartSvnCloneDialog(IWin32Window owner, GitModuleChangedEventHandler GitModuleChanged)
{
if (!InvokeEvent(owner, PreSvnClone))
return false;
using (var form = new FormSvnClone(this, GitModuleChanged))
form.ShowDialog(owner);
InvokeEvent(owner, PostSvnClone);
return true;
}