public ZoekViewModel(MainViewModel main, PropertyChanged last, String zoekString, Object o) : this(main, last) { try { s = (internships)o; } catch(Exception e) { // Gaat fout } //stype = type; SearchString = zoekString; }
public KoppelViewModel(MainViewModel main, PropertyChanged last, internships stage) : this(main, last) { list = new Dictionary<object, DocentValue>(); int ID = unchecked((int)stage.id); Stage = stage; list = (new ImportanceChecker().checkImportance(ID).ToDictionary(t => (Object)new { waarde = t.value, naam = t.TeacherInfo.users.name + " " + t.TeacherInfo.users.surname, aantalkennis = t.numberOfKnowledge, kennis = t.sameKnowledgeString, afstand = t.distance, vervoer = t.TeacherInfo.transport.name, tijdover = t.timeleftafter, }, t => t)); GridContents = list.Keys.ToList(); }
public StageopdrachtViewModel(MainViewModel main,PropertyChanged last, internships stage) : this(main,last) { Stage = stage; }
public override void update(object[] o) { try { Stage = (internships)o[2]; } catch (Exception) { throw; } }