Beispiel #1
0
        /// <summary>
        /// Creates a new repository transfer description.
        /// </summary>
        /// <param name="newOwner">The new owner of the repository after the transfer.</param>
        /// <param name="teamIds">A list of team Ids to add to the repository after the transfer (only applies to transferring to an Organization).</param>
        public RepositoryTransfer(string newOwner, IReadOnlyList <int> teamIds)
            : this(newOwner)
        {
            Ensure.ArgumentNotNullOrEmptyEnumerable(teamIds, nameof(teamIds));

            TeamIds = teamIds;
        }