public Producer(String name, String description, User user, RekoRing rekoRing) { this.user = user; this.name = name; this.description = description; this.rekoRing = rekoRing; }
public void UpdateRingInfo() { RekoRing current = Session.Instance.GetRekoRing(); if (current == null) { rekoringname.Text = "Ingen REKO-ring vald."; rekoringmeetup.Text = ""; } else { rekoringname.Text = "REKO-ring: " + current.name; rekoringmeetup.Text = "Nästa meetup:" + Environment.NewLine + current.nextMeetup.ToString(System.Globalization.CultureInfo.CreateSpecificCulture("fr-FR")); } }
public void AddRekoRing(RekoRing rekoring) { var collection = db.GetCollection <RekoRing>("RekoRing"); collection.InsertOne(rekoring); }
public void SetRekoRing(RekoRing newRing) { currentRekoRing = newRing; }