コード例 #1
0
 // Business constructor
 public Activity(
     ProfileQuarter profileQuarter
     ,ActivityReward activityReward
     ,DateTime activityDate
     )
 {
     InitializeResults();
     _profileQuarter = new PredecessorObj<ProfileQuarter>(this, GetRoleProfileQuarter(), profileQuarter);
     _activityReward = new PredecessorObj<ActivityReward>(this, GetRoleActivityReward(), activityReward);
     _activityDate = activityDate;
 }
コード例 #2
0
            public CorrespondenceFact CreateFact(FactMemento memento)
            {
                ProfileQuarter newFact = new ProfileQuarter(memento);

                return newFact;
            }