public void MoveTo(Place place) { _session.SetPlace(place); }
// 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); }
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)); }
public CorrespondenceFact CreateFact(FactMemento memento) { Place newFact = new Place(memento); return newFact; }
public ScheduleCellViewModel(Place place) { _place = place; }