Exemplo n.º 1
0
 public static GitLink3Settings EnableSkipVerification(this GitLink3Settings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.SkipVerification = true;
     return(toolSettings);
 }
Exemplo n.º 2
0
 public static GitLink3Settings SetSkipVerification(this GitLink3Settings toolSettings, bool?skipVerification)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.SkipVerification = skipVerification;
     return(toolSettings);
 }
Exemplo n.º 3
0
 public static GitLink3Settings ResetSkipVerification(this GitLink3Settings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.SkipVerification = null;
     return(toolSettings);
 }
Exemplo n.º 4
0
 public static GitLink3Settings SetBaseDirectory(this GitLink3Settings toolSettings, string baseDirectory)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.BaseDirectory = baseDirectory;
     return(toolSettings);
 }
Exemplo n.º 5
0
 public static GitLink3Settings ResetBaseDirectory(this GitLink3Settings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.BaseDirectory = null;
     return(toolSettings);
 }
Exemplo n.º 6
0
 public static GitLink3Settings SetCommitSha(this GitLink3Settings toolSettings, string commitSha)
 {
     toolSettings           = toolSettings.NewInstance();
     toolSettings.CommitSha = commitSha;
     return(toolSettings);
 }
Exemplo n.º 7
0
 public static GitLink3Settings ResetCommitSha(this GitLink3Settings toolSettings)
 {
     toolSettings           = toolSettings.NewInstance();
     toolSettings.CommitSha = null;
     return(toolSettings);
 }
Exemplo n.º 8
0
 public static GitLink3Settings SetRepositoryUrl(this GitLink3Settings toolSettings, string repositoryUrl)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.RepositoryUrl = repositoryUrl;
     return(toolSettings);
 }
Exemplo n.º 9
0
 public static GitLink3Settings ResetRepositoryUrl(this GitLink3Settings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.RepositoryUrl = null;
     return(toolSettings);
 }
Exemplo n.º 10
0
 public static GitLink3Settings SetMethod(this GitLink3Settings toolSettings, GitLinkSourceCodeRetrieval method)
 {
     toolSettings        = toolSettings.NewInstance();
     toolSettings.Method = method;
     return(toolSettings);
 }
Exemplo n.º 11
0
 public static GitLink3Settings ResetMethod(this GitLink3Settings toolSettings)
 {
     toolSettings        = toolSettings.NewInstance();
     toolSettings.Method = null;
     return(toolSettings);
 }
Exemplo n.º 12
0
 public static GitLink3Settings ResetPdbFile(this GitLink3Settings toolSettings)
 {
     toolSettings         = toolSettings.NewInstance();
     toolSettings.PdbFile = null;
     return(toolSettings);
 }
Exemplo n.º 13
0
 public static GitLink3Settings SetPdbFile(this GitLink3Settings toolSettings, string pdbFile)
 {
     toolSettings         = toolSettings.NewInstance();
     toolSettings.PdbFile = pdbFile;
     return(toolSettings);
 }
Exemplo n.º 14
0
 private static void PreProcess(ref GitLink3Settings toolSettings)
 {
     ControlFlow.AssertWarn(toolSettings.ToolPath.Contains("gitlink\\3"), "toolSettings.ToolPath.Contains('gitlink\\3')");
 }
Exemplo n.º 15
0
 public static GitLink3Settings ToggleSkipVerification(this GitLink3Settings toolSettings)
 {
     toolSettings = toolSettings.NewInstance();
     toolSettings.SkipVerification = !toolSettings.SkipVerification;
     return(toolSettings);
 }
Exemplo n.º 16
0
 static partial void PostProcess(GitLink3Settings toolSettings);