Пример #1
0
#pragma warning restore CS0618 // Type or member is obsolete

#pragma warning disable CS0618 // Type or member is obsolete
        public Branch(string name, GitReference commit, BranchProtection protection, bool @protected)
            : this(name, commit, @protected)
        {
            Protection = protection;
        }
Пример #2
0
#pragma warning disable CS0618 // Type or member is obsolete
        public Branch(string name, GitReference commit, BranchProtection protection)
            : this(name, commit, protection, false)
        {
        }
Пример #3
0
#pragma warning disable CS0618 // Type or member is obsolete
        public Branch(string name, GitReference commit, BranchProtection protection)
        {
            Name = name;
            Commit = commit;
            Protection = protection;
        }
Пример #4
0
 public Branch(string name, GitReference commit, BranchProtection protection)
 {
     Name       = name;
     Commit     = commit;
     Protection = protection;
 }
Пример #5
0
#pragma warning restore CS0618 // Type or member is obsolete

#pragma warning disable CS0618 // Type or member is obsolete
        public Branch(string name, GitReference commit, BranchProtection protection, bool @protected)
            : this(name, commit, @protected)
        {
            Protection = protection;
        }
Пример #6
0
#pragma warning disable CS0618 // Type or member is obsolete
        public Branch(string name, GitReference commit, BranchProtection protection)
            : this(name, commit, protection, false)
        {
        }