public void MoveTo(Place place)
 {
     _session.SetPlace(place);
 }
Пример #2
0
 // Fields
 // Results
 // Business constructor
 public SessionPlace(
     Session session
     ,Place place
     ,IEnumerable<SessionPlace> prior
     )
 {
     InitializeResults();
     _session = new PredecessorObj<Session>(this, GetRoleSession(), session);
     _place = new PredecessorObj<Place>(this, GetRolePlace(), place);
     _prior = new PredecessorList<SessionPlace>(this, GetRolePrior(), prior);
 }
Пример #3
0
 public void SetPlace(Place place)
 {
     List<SessionPlace> currentSessionPlaces = CurrentSessionPlaces.Ensure().ToList();
     if (currentSessionPlaces.Count != 1 || currentSessionPlaces[0].Place != place)
         Community.AddFact(new SessionPlace(this, place, CurrentSessionPlaces));
 }
Пример #4
0
            public CorrespondenceFact CreateFact(FactMemento memento)
            {
                Place newFact = new Place(memento);

                return newFact;
            }
Пример #5
0
 public ScheduleCellViewModel(Place place)
 {
     _place = place;
 }