コード例 #1
0
        /// <summary>
        /// Creates a Reasource comment with the given value and adds it to the List of Comments
        /// </summary>
        /// <param name = "resComment" > Comment </ param >
        /// <param name="orderNum">(Optional) Order Number</param>
        public void AddComment(string resComment, int?orderNum = null)
        {
            ResourceComment c = new ResourceComment(resComment, orderNum);

            AddComment(c);
        }
コード例 #2
0
 /// <summary>
 /// Add the given Resource Comment to the List of Comments
 /// </summary>
 /// <param name="com">Resource Comment</param>
 public void AddComment(ResourceComment com)
 {
     AddComment(new List <ResourceComment> {
         com
     });
 }