コード例 #1
0
        /// <summary>
        /// Gets serialization data of the object.
        /// </summary>
        /// <returns>The serialization data.</returns>
        public virtual Serialization.ScrumTeamData GetData()
        {
            var result = new Serialization.ScrumTeamData
            {
                Name  = Name,
                State = State,
            };

            result.Members          = Observers.Concat(Members).Select(m => m.GetData()).ToList();
            result.EstimationResult = _estimationResult?.GetData();
            return(result);
        }