public Producer(String name, String description, User user, RekoRing rekoRing)
 {
     this.user        = user;
     this.name        = name;
     this.description = description;
     this.rekoRing    = rekoRing;
 }
Beispiel #2
0
        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"));
            }
        }
Beispiel #3
0
        public void AddRekoRing(RekoRing rekoring)
        {
            var collection = db.GetCollection <RekoRing>("RekoRing");

            collection.InsertOne(rekoring);
        }
 public void SetRekoRing(RekoRing newRing)
 {
     currentRekoRing = newRing;
 }