Example #1
0
        /// <summary>
        /// Constructeur par recopie.
        /// </summary>
        /// <param name="bean">Source.</param>
        public WfDecision(WfDecision bean)
        {
            if (bean == null)
            {
                throw new ArgumentNullException(nameof(bean));
            }

            this.Id           = bean.Id;
            this.Choice       = bean.Choice;
            this.Comments     = bean.Comments;
            this.DecisionDate = bean.DecisionDate;

            this.OnCreated(bean);
        }
Example #2
0
 /// <summary>
 /// Methode d'extensibilité possible pour les constructeurs par recopie.
 /// </summary>
 /// <param name="bean">Source.</param>
 partial void OnCreated(WfDecision bean);