EmotionalAppraisal.AppraisalRules.AppraisalRule.AppraisalRule C# (CSharp) Method

AppraisalRule() public method

Clone Constructor
public AppraisalRule ( AppraisalRule other ) : System
other AppraisalRule the reaction to clone
return System
        public AppraisalRule(AppraisalRule other)
        {
            m_id = other.m_id;
            EventName = other.EventName;
            Conditions = new ConditionSet(other.Conditions);
            Desirability = other.Desirability;
            Praiseworthiness = other.Praiseworthiness;
            //DesirabilityForOther = other.DesirabilityForOther;
            //Like = other.Like;
            //ReferencedEventName = (Name)other.ReferencedEventName.Clone();
            //if (Other != null)
            //	Other = (Name) other.Other.Clone();
        }

Same methods

AppraisalRule::AppraisalRule ( AppraisalRuleDTO appraisalRuleDTO ) : System
AppraisalRule::AppraisalRule ( Name eventName, ConditionSet conditions = null ) : System
AppraisalRule