public Registration(Competitor competitor, Theme theme, string category, IFotoaparat camera, Photo photo)
        {
            RegistrationHandler registrationHandler = RegistrationHandler.GetInstance();
            id = "PRIJAVA " + registrationHandler.Counter.ToString();
            registrationHandler.Counter++;

            disqualified = false;
            this.competitor = competitor;
            this.theme = theme;
            this.category = category;
            this.camera = camera;
            this.photo = photo;
        }
Beispiel #2
0
 public Photo(Photo photo)
 {
     Aperture = photo.Aperture;
     Exposure = photo.Exposure;
 }