public TrackDayViewModel(Attendee attendee, Track track, Day day, ImageCache imageCache) { _attendee = attendee; _track = track; _day = day; _imageCache = imageCache; }
public TrackViewModel( Track track, SearchModel search, Func<SessionPlace, SessionHeaderViewModel> newSessionHeaderViewModel) { _track = track; _search = search; _newSessionHeaderViewModel = newSessionHeaderViewModel; }
public TrackDetailsViewModel(Track track) { _track = track; }
public CorrespondenceFact CreateFact(FactMemento memento) { Track newFact = new Track(memento); // Create a memory stream from the memento data. using (MemoryStream data = new MemoryStream(memento.Data)) { using (BinaryReader output = new BinaryReader(data)) { newFact._name = (string)_fieldSerializerByType[typeof(string)].ReadData(output); } } return newFact; }
// Business constructor public Session( Conference conference ,Speaker speaker ,Track track ) { _unique = Guid.NewGuid(); InitializeResults(); _conference = new PredecessorObj<Conference>(this, GetRoleConference(), conference); _speaker = new PredecessorObj<Speaker>(this, GetRoleSpeaker(), speaker); _track = new PredecessorOpt<Track>(this, GetRoleTrack(), track); }
public Session NewSession(Speaker speaker, Track track) { return Community.AddFact(new Session(this, speaker, track)); }
// Results // Business constructor public Track__name( Track track ,IEnumerable<Track__name> prior ,string value ) { InitializeResults(); _track = new PredecessorObj<Track>(this, GetRoleTrack(), track); _prior = new PredecessorList<Track__name>(this, GetRolePrior(), prior); _value = value; }
// Fields // Results // Business constructor public SessionTrack( Session session ,Track track ,IEnumerable<SessionTrack> prior ) { InitializeResults(); _session = new PredecessorObj<Session>(this, GetRoleSession(), session); _track = new PredecessorObj<Track>(this, GetRoleTrack(), track); _prior = new PredecessorList<SessionTrack>(this, GetRolePrior(), prior); }
public TrackViewModel(Attendee attendee, Track track, ImageCache imageCache) { _attendee = attendee; _track = track; _imageCache = imageCache; }
public TrackViewModel(Track track) { _track = track; }