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;
 }