コード例 #1
0
        /// <summary>
        /// Add Changeset model.
        /// <param name="changeset">Changeset></param>
        /// <returns>ChangesetListMergeRequest</returns>
        /// </summary>
        public ChangesetListMergeRequest AddChangeset(Changeset changeset)
        {
            if (changeset.Id > 0)
            {
                SourceChangesetIds.Add(changeset.Id);
            }

            return(this);
        }
コード例 #2
0
 /// <summary>
 /// Add Source_Changeset_IDs.
 ///	- sourceChangesetId: Int
 /// - Returns: Self
 /// </summary>
 public ChangesetListMergeRequest AddSourceChangesetID(int sourceChangesetId)
 {
     SourceChangesetIds.Add(sourceChangesetId);
     return(this);
 }