public MatchWS(int pId, JediWS pJedi1, JediWS pJedi2, JediWS pJediV, StadeWS pStade, EPhaseTournoi pPhase) { this.Id = pId; this.Jedi1 = pJedi1; this.Jedi2 = pJedi2; this.JediVainqueur = pJediV; this.Stade = pStade; this.Phase = (EPhaseTournoiWS)pPhase; }
public MatchWS(int pId, JediWS pJedi1, JediWS pJedi2, JediWS pJediV, StadeWS pStade, EPhaseTournoi pPhase) { this.Id = pId; this.Jedi1 = pJedi1; this.Jedi2 = pJedi2; this.JediVainqueur = pJediV; this.Stade = pStade; this.Phase = (EPhaseTournoiWS)pPhase; }
public MatchWS(Match m) { this.Id = m.Id; this.Jedi1 = m.Jedi1 != null ? new JediWS(m.Jedi1) : null; this.Jedi2 = m.Jedi2 != null ? new JediWS(m.Jedi2) : null; this.JediVainqueur = m.JediVainqueur != null ? new JediWS(m.JediVainqueur) : null; this.Stade = new StadeWS(m.Stade); this.Phase = (EPhaseTournoiWS)m.PhaseTournoi; }
public MatchWS(Match m) { this.Id = m.Id; this.Jedi1 = m.Jedi1 != null ? new JediWS(m.Jedi1) : null; this.Jedi2 = m.Jedi2 != null ? new JediWS(m.Jedi2) : null; this.JediVainqueur = m.JediVainqueur != null ? new JediWS(m.JediVainqueur) : null; this.Stade = new StadeWS(m.Stade); this.Phase = (EPhaseTournoiWS)m.PhaseTournoi; }