當前位置: 首頁>>代碼示例>>C#>>正文


C# Commands.RemoteOptions類代碼示例

本文整理匯總了C#中Sep.Git.Tfs.Commands.RemoteOptions的典型用法代碼示例。如果您正苦於以下問題:C# RemoteOptions類的具體用法?C# RemoteOptions怎麽用?C# RemoteOptions使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


RemoteOptions類屬於Sep.Git.Tfs.Commands命名空間,在下文中一共展示了RemoteOptions類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: GitTfsRemote

 public GitTfsRemote(RemoteOptions remoteOptions, Globals globals, ITfsHelper tfsHelper, TextWriter stdout)
 {
     this.remoteOptions = remoteOptions;
     this.globals = globals;
     this.stdout = stdout;
     Tfs = tfsHelper;
 }
開發者ID:roend83,項目名稱:git-tfs,代碼行數:7,代碼來源:GitTfsRemote.cs

示例2: ListRemoteBranches

 public ListRemoteBranches(Globals globals, TextWriter stdout, ITfsHelper tfsHelper, RemoteOptions remoteOptions)
 {
     this.globals = globals;
     this.stdout = stdout;
     this.tfsHelper = tfsHelper;
     this.remoteOptions = remoteOptions;
 }
開發者ID:patthoyts,項目名稱:git-tfs,代碼行數:7,代碼來源:ListRemoteBranches.cs

示例3: Subtree

 public Subtree(Fetch fetch, QuickFetch quickFetch, Globals globals, RemoteOptions remoteOptions)
 {
     _fetch = fetch;
     _quickFetch = quickFetch;
     _globals = globals;
     _remoteOptions = remoteOptions;
 }
開發者ID:pmiossec,項目名稱:git-tfs,代碼行數:7,代碼來源:Subtree.cs

示例4: Fetch

 public Fetch(Globals globals, RemoteOptions remoteOptions, AuthorsFile authors, Labels labels)
 {
     this.remoteOptions = remoteOptions;
     this.globals = globals;
     this.authors = authors;
     this.labels = labels;
 }
開發者ID:runt18,項目名稱:git-tfs,代碼行數:7,代碼來源:Fetch.cs

示例5: Create

 public Create(ITfsHelper tfsHelper, Clone clone, RemoteOptions remoteOptions, TextWriter stdout)
 {
     _stdout = stdout;
     _tfsHelper = tfsHelper;
     _clone = clone;
     _remoteOptions = remoteOptions;
 }
開發者ID:patthoyts,項目名稱:git-tfs,代碼行數:7,代碼來源:Create.cs

示例6: Bootstrap

 public Bootstrap(RemoteOptions remoteOptions, Globals globals, TextWriter stdout, Bootstrapper bootstrapper)
 {
     _remoteOptions = remoteOptions;
     _globals = globals;
     _stdout = stdout;
     _bootstrapper = bootstrapper;
 }
開發者ID:XinChenBug,項目名稱:git-tfs,代碼行數:7,代碼來源:Bootstrap.cs

示例7: Init

 public Init(RemoteOptions remoteOptions, InitOptions initOptions, Globals globals, TextWriter output, IGitHelpers gitHelper)
 {
     this.remoteOptions = remoteOptions;
     this.gitHelper = gitHelper;
     this.output = output;
     this.globals = globals;
     this.initOptions = initOptions;
 }
開發者ID:jsmale,項目名稱:git-tfs,代碼行數:8,代碼來源:Init.cs

示例8: GitTfsRemote

 public GitTfsRemote(RemoteOptions remoteOptions, Globals globals, ITfsHelper tfsHelper, TextWriter stdout)
 {
     this.remoteOptions = remoteOptions;
     this.globals = globals;
     this.stdout = stdout;
     Tfs = tfsHelper;
     _failTracker = new TfsFailTracker();
 }
開發者ID:fschwiet,項目名稱:git-tfs,代碼行數:8,代碼來源:GitTfsRemote.cs

示例9: Fetch

 public Fetch(Globals globals, TextWriter stdout, RemoteOptions remoteOptions, AuthorsFile authors, Labels labels)
 {
     this.globals = globals;
     this.stdout = stdout;
     this.remoteOptions = remoteOptions;
     this.authors = authors;
     this.labels = labels;
 }
開發者ID:JenasysDesign,項目名稱:git-tfs,代碼行數:8,代碼來源:Fetch.cs

示例10: Subtree

 public Subtree(TextWriter stdout, Fetch fetch, QuickFetch quickFetch, Globals globals, RemoteOptions remoteOptions)
 {
     this._stdout = stdout;
     this._fetch = fetch;
     this._quickFetch = quickFetch;
     this._globals = globals;
     this._remoteOptions = remoteOptions;
 }
開發者ID:Galilyou,項目名稱:git-tfs,代碼行數:8,代碼來源:Subtree.cs

示例11: Fetch

 public Fetch(Globals globals, ConfigProperties properties, RemoteOptions remoteOptions, Labels labels)
 {
     _globals = globals;
     _properties = properties;
     _remoteOptions = remoteOptions;
     _labels = labels;
     upToChangeSet = -1;
     BranchStrategy = BranchStrategy = BranchStrategy.Auto;
 }
開發者ID:pmiossec,項目名稱:git-tfs,代碼行數:9,代碼來源:Fetch.cs

示例12: Fetch

 public Fetch(Globals globals, ConfigProperties properties, TextWriter stdout, RemoteOptions remoteOptions, AuthorsFile authors, Labels labels)
 {
     this.globals = globals;
     this.properties = properties;
     this.stdout = stdout;
     this.remoteOptions = remoteOptions;
     this.authors = authors;
     this.labels = labels;
     this.upToChangeSet = -1;
 }
開發者ID:devopsteamberlin,項目名稱:git-tfs,代碼行數:10,代碼來源:Fetch.cs

示例13: CreateTfsRemote

        public void CreateTfsRemote(string remoteId, string tfsUrl, string tfsRepositoryPath, RemoteOptions remoteOptions)
        {
            if (HasRemote(remoteId))
                throw new GitTfsException("A remote with id \"" + remoteId + "\" already exists.");

            SetTfsConfig(remoteId, "url", tfsUrl);
            SetTfsConfig(remoteId, "repository", tfsRepositoryPath);
            SetTfsConfig(remoteId, "fetch", "refs/remotes/" + remoteId + "/master");
            if (remoteOptions != null)
            {
                if (remoteOptions.NoMetaData) SetTfsConfig(remoteId, "no-meta-data", 1);
                if (remoteOptions.IgnoreRegex != null) SetTfsConfig(remoteId, "ignore-paths", remoteOptions.IgnoreRegex);
            }

            Directory.CreateDirectory(Path.Combine(this.GitDir, "tfs"));
            _cachedRemotes = null;
        }
開發者ID:adamchester,項目名稱:git-tfs,代碼行數:17,代碼來源:GitRepository.cs

示例14: GitTfsRemote

        public GitTfsRemote(RemoteInfo info, IGitRepository repository, RemoteOptions remoteOptions, Globals globals, ITfsHelper tfsHelper, TextWriter stdout)
        {
            this.remoteOptions = remoteOptions;
            this.globals = globals;
            this.stdout = stdout;
            Tfs = tfsHelper;
            Repository = repository;

            Id = info.Id;
            TfsUrl = info.Url;
            TfsRepositoryPath = info.Repository;
            TfsUsername = info.Username;
            TfsPassword = info.Password;
            Aliases = (info.Aliases ?? Enumerable.Empty<string>()).ToArray();
            IgnoreRegexExpression = info.IgnoreRegex;
            Autotag = info.Autotag;
        }
開發者ID:runt18,項目名稱:git-tfs,代碼行數:17,代碼來源:GitTfsRemote.cs

示例15: GitTfsRemote

        public GitTfsRemote(RemoteInfo info, IGitRepository repository, RemoteOptions remoteOptions, Globals globals,
            ITfsHelper tfsHelper, ConfigProperties properties)
        {
            _remoteOptions = remoteOptions;
            _globals = globals;
            _properties = properties;
            Tfs = tfsHelper;
            Repository = repository;

            RemoteInfo = info;
            Id = info.Id;
            TfsUrl = info.Url;
            TfsRepositoryPath = info.Repository;
            TfsUsername = info.Username;
            TfsPassword = info.Password;
            Aliases = (info.Aliases ?? Enumerable.Empty<string>()).ToArray();
            IgnoreRegexExpression = info.IgnoreRegex;
            IgnoreExceptRegexExpression = info.IgnoreExceptRegex;

            Autotag = info.Autotag;

            IsSubtree = CheckSubtree();
        }
開發者ID:git-tfs,項目名稱:git-tfs,代碼行數:23,代碼來源:GitTfsRemote.cs


注:本文中的Sep.Git.Tfs.Commands.RemoteOptions類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。