Example #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;
        }
Example #2
0
#pragma warning disable CS0618 // Type or member is obsolete
        public Branch(string name, GitReference commit, BranchProtection protection)
            : this(name, commit, protection, false)
        {
        }
Example #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;
        }
Example #4
0
 public Branch(string name, GitReference commit, BranchProtection protection)
 {
     Name       = name;
     Commit     = commit;
     Protection = protection;
 }
Example #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;
        }
Example #6
0
#pragma warning disable CS0618 // Type or member is obsolete
        public Branch(string name, GitReference commit, BranchProtection protection)
            : this(name, commit, protection, false)
        {
        }